How to debug a MBD coupling code

Raheem Sterling_22160
Raheem Sterling_22160 Altair Community Member
edited May 2022 in Community Q&A

Hi, can anybody tell me how to debug code with MBD coupling simulation?

It seems different with debug I've done beforce with API.

Thanks

Tagged:

Answers

  • Stephen Cole
    Stephen Cole
    Altair Employee
    edited May 2022

    Hi,

     

    Do you have your own code compiled to a .exe using Visual Studio?


    If so the process would be:  

    1. Start EDEM and set the Coupling Interface to listening mode

    2. In visual studio set the Configuration to Debug 

     

    3. Then go to Debug > Start Debugging .  The coupling code will run and connect to EDEM and you will be able to step through the code in VS.

     

    Regards

    Stephen