question

Steven Chen avatar image
0 Likes"
Steven Chen asked Jordan Johnson commented

Debugging DLL

Hello,

Debugging (flexsim.com)
I tried first method but got error while Visual Studio opening flexsim.exe.

crashonsplashscreen.png

Exception thrown at 0x000000018073B6B0 (flexsim.dll) in flexsim.exe: 0xC0000005: Access violation reading location 0x0000000000000228.


Second method (Attach to Process) works fine.

I use Module SDK to build DLL.

FlexSim 22.1.0
debuggingvisual studio
5 |100000

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

1 Answer

Mischa Spelt avatar image
0 Likes"
Mischa Spelt answered Jordan Johnson commented

Yes, you cannot open FlexSim from Visual Studio. You need to start it as an external application, then attach VS as debugger after it has fully started.

· 2
5 |100000

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