question

anon-user avatar image
0 Likes"
anon-user asked Eric M commented

 Debugging Flexsim in Visual Studio

Dear Flexsim-Team,


I develop a custom module in C++ and try to use debugging in visual studio. I followed these instructions in the flexsim manual:

https://docs.flexsim.com/en/21.1/Reference/DeveloperAdvancedUser/ModuleSDK/Reference/Miscellaneous/Debugging/

But at the end I get the following error:


I also reproduced the error with another colleague following the instructions.


As far as I understand the debug information of the flexsim part is missing. I tried to change the visual studio settings to neglect the symbols/debug information for flexsim.dll. But this did not help. It would be nice, if you can share how to get this working.


Kind regards,


Lothar

flexsim 21.0.2debuggingvisual studio
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Eric M avatar image Eric M commented ·

Hi @Lothar K, was Phil Bobo's answer helpful? If so, please click the red "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Phil BoBo avatar image
0 Likes"
Phil BoBo answered

You don't debug FlexSim.dll functions. You debug your Module.dll functions. Put a breakpoint in your module function's code and debug your module. The functions that are shown being executed in your screenshot are FlexSim Engine functions that you do not have source code or debug symbols for.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.