Debugging MEX files using MinGW64 slow

Viewed 19

When debugging a MEX file (Simulink S-function in my case), which is compiled using MinGW, debugging the S-function is very slow.

Does anyone have an idea how to speed things up - based on their experience?

I attach the debugger (using Visual Studio Code) and set breakpoints in my s-function. Although this works, it is very slow. Especially all the Simulink interactions take a lot of time.

0 Answers
Related