mathworks / MATLAB-extension-for-vscode

This extension provides support for editing MATLAB® code in Visual Studio® Code and includes features such as syntax highlighting, code analysis, navigation support, and more.
https://marketplace.visualstudio.com/items?itemName=MathWorks.language-matlab
MIT License
234 stars 15 forks source link

[Feature Request] Add Support for Debugging #103

Open RoyiAvital opened 7 months ago

RoyiAvital commented 7 months ago

Please add the ability to debug files and run using Debug mode:

  1. Set breakpoints.
  2. Set conditional breakpoints.
  3. Variable Viewer.
philipb314 commented 7 months ago

Thanks for the feedback! This is definitely something we will consider including in a future release.

mwickert commented 7 months ago

A step this direction be to provide a button to open the MATLAB code editor (as found in the extension Matlab in VSCode). With this intermediate level of support you run code from vs code that then jumps to break points set in the MATLAB code editor.

Gusmano-2-OSU commented 7 months ago

I know this would be a huge ask, but introducing Logpoints would be really helpful for debugging!

mwickert commented 7 months ago

@Gusmano-2-OSU I looked at the log points discussion and agree that debugging is more than setting break points. Improper changes in state over time are critical to resolving broken algorithms.

Lucas-Polo commented 6 months ago

I endorse this request.

For any real project, having the ability to debug the code is an unavoidable need. Therefore, it would be extremely practical being able to do so from the VS Code environment.

spacemanjosh commented 5 months ago

+1 for breakpoints and variable view. I'm loving the editor, but without breakpoints it makes it very difficult to debug. That said, I love the VSCode integration overall.

fspinar commented 5 months ago

+1

Using VS code matlab extension changed my life, I loved it, except that to be able to use the debugging features I need t run matlab and VS code together... Please add those features !

bblockwood commented 5 months ago

+1

This would be a very valuable addition, and would be the last step for making this a fully usable matlab editing solution for me.

homecls commented 4 months ago

+1

jarleppa commented 4 months ago

This is definitely a necessity for utilizing MATLAB in VS Code environment. At least breakpoint support would be the first step towards improving the usability of the addon.

nadlechSICKAG commented 1 month ago

+1

alfredohernandezinostroza commented 1 month ago

+1

witty-one commented 1 month ago

+1! Absolute must!!!

gledsonrt commented 4 weeks ago

+1

connorourke commented 1 week ago

+1