Breakpoint in Julia?

Hello all,

I am shifting from MATLAB to julia and still learning the basics. I was curious to know that is there a way to add a breakpoint in Julia? Like in MATLAB if we put a breakpoint and in the code then MATALB will execute the code till that breakpoint and then you can debug all the variables and there values by just hovering on them (also these breakpoint helps if the code is working till that point or not if the code is huge). Can we do this in Julia? Please see the screenshot of MATLAB breakpoint to clarify what I am talking about.

Thanks,
Nadeem

Julia plugin for vscode has some debugging using the gui, think that would be what you are after
https://www.julia-vscode.org/docs/stable/userguide/debugging/

1 Like

Perfect, Thanks you :slight_smile: