How can I use Visual Studio Code for debugging MATLAB MEX-files or Simulink S-Functions compiled with MingW64 on Windows or GCC/G++ on Linux?

18 views (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 20 Jun 2018
Yes, you can use Visual Studio Code for debugging MinGW64 and GCC MEX-files, the following blog post on our website goes into further detail on this:
  2 Comments
Stefanie Schwarz
Stefanie Schwarz on 6 Sep 2024
We are aware of an issue when debugging with newer releases (for example, VS Code 1.92.2 and R2024a). VS Code does not halt at the set breakpoints, and the breakpoints are not confirmed to be set by VS Code and show "Attempting to bind the breakpoint..."
This appears to be an issue on VS Code's side and has been reported already:

Sign in to comment.

More Answers (0)

Tags

No tags entered yet.

Products


Release

R2017a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!