MATLAB-extension-for-vscode icon indicating copy to clipboard operation
MATLAB-extension-for-vscode copied to clipboard

[Feature Request] Add Support for Debugging

Open RoyiAvital opened this issue 11 months ago • 15 comments

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

  1. Set breakpoints.
  2. Set conditional breakpoints.
  3. Variable Viewer.

RoyiAvital avatar Mar 06 '24 19:03 RoyiAvital

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

philipb314 avatar Mar 06 '24 20:03 philipb314

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.

mwickert avatar Mar 06 '24 22:03 mwickert

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

Gusmano-2-OSU avatar Mar 07 '24 14:03 Gusmano-2-OSU

@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.

mwickert avatar Mar 07 '24 16:03 mwickert

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.

Lucas-Polo avatar Mar 29 '24 11:03 Lucas-Polo

+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.

spacemanjosh avatar Apr 22 '24 00:04 spacemanjosh

+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 !

fspinar avatar May 03 '24 22:05 fspinar

+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.

bblockwood avatar May 06 '24 15:05 bblockwood

+1

homecls avatar May 22 '24 14:05 homecls

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.

jarleppa avatar Jun 02 '24 10:06 jarleppa

+1

nadlechSICKAG avatar Aug 14 '24 16:08 nadlechSICKAG

+1

+1! Absolute must!!!

witty-one avatar Aug 30 '24 14:08 witty-one

+1

gledsonrt avatar Sep 06 '24 14:09 gledsonrt

+1

connorourke avatar Sep 25 '24 14:09 connorourke

Here to say that I would absolutely love if I could at least review variables after a run.

theDanishCG avatar Oct 14 '24 06:10 theDanishCG