# Breakpoint in Julia?

**URL:** <https://discourse.julialang.org/t/breakpoint-in-julia/87668>\
**Category:** New to Julia\
**Created:** [September 22, 2022, 6:44pm UTC](https://discourse.julialang.org/t/breakpoint-in-julia/87668 "2022-09-22T18:44:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Muhammad\_Nadeem](https://avatars.discourse-cdn.com/v4/letter/m/bc79bd/32.png) [@Muhammad\_Nadeem](https://discourse.julialang.org/u/Muhammad_Nadeem)\
**Post date:** [September 22, 2022, 6:44pm UTC](https://discourse.julialang.org/t/breakpoint-in-julia/87668/1 "2022-09-22T18:44:47Z")

</div>

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

 ![12](https://global.discourse-cdn.com/julialang/original/3X/b/4/b4dc1fc854f0d35d9e8961a6c910bec9c0164444.png)

---

<div class="post-metadata">

**Author:** ![albheim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/albheim/32/34660_2.png) [@albheim](https://discourse.julialang.org/u/albheim)\
**Post date:** [September 22, 2022, 6:53pm UTC](https://discourse.julialang.org/t/breakpoint-in-julia/87668/2 "2022-09-22T18:53:34Z")

</div>

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/](https://www.julia-vscode.org/docs/stable/userguide/debugging/)

---

<div class="post-metadata">

**Author:** ![Muhammad\_Nadeem](https://avatars.discourse-cdn.com/v4/letter/m/bc79bd/32.png) [@Muhammad\_Nadeem](https://discourse.julialang.org/u/Muhammad_Nadeem)\
**Post date:** [September 22, 2022, 6:55pm UTC](https://discourse.julialang.org/t/breakpoint-in-julia/87668/3 "2022-09-22T18:55:22Z")

</div>

Perfect, Thanks you 🙂
