# First look - Debugger.jl Uncut

**URL:** https://discourse.julialang.org/t/first-look-debugger-jl-uncut/37599
**Category:** Community
**Created:** [April 14, 2020, 11:43pm UTC](https://discourse.julialang.org/t/first-look-debugger-jl-uncut/37599 "2020-04-14T23:43:56Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![xiaodai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xiaodai/32/15937_2.png) [@xiaodai](https://discourse.julialang.org/u/xiaodai)
#### Post date: [April 14, 2020, 11:43pm UTC](https://discourse.julialang.org/t/first-look-debugger-jl-uncut/37599/1 "2020-04-14T23:43:56Z")

</div>

At work, I started making videos of me playing around with our company’s products and recording my thoughts. The UX team and engineering team watch them and think they are useful. So I decided to make one of me using the Debugger.jl for the first time.

It’s uncut, so pretty raw.

[![](https://global.discourse-cdn.com/julialang/original/3X/7/6/76689ae4657da0e53e1dedf40b37a04f54a4b784.jpeg "First look - Debugger.jl Uncut") ](https://www.youtube.com/watch?v=EAHOXJsEq3E&t=261)

---

<div class="post-metadata">

### Author: ![davidanthoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidanthoff/32/223493_2.png) [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)
#### Post date: [April 15, 2020, 9:30am UTC](https://discourse.julialang.org/t/first-look-debugger-jl-uncut/37599/2 "2020-04-15T09:30:07Z")

</div>

Awesome, and now I know how you found the errors in Parquet 🙂

Would be great if you give the debugger in the VS Code extension a spin as well, see [here](https://discourse.julialang.org/t/ann-vs-code-extension-v0-15-released-with-debugger/36415) for an intro.

---

<div class="post-metadata">

### Author: ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)
#### Post date: [April 15, 2020, 10:37am UTC](https://discourse.julialang.org/t/first-look-debugger-jl-uncut/37599/3 "2020-04-15T10:37:13Z")

</div>

> The UX team and engineering team watches them and think they are useful.

Yes, it’s immensely useful to see people not used to tools work with them for the first time.

I think the reason for most of the troubles you were having stems from the fact that you’re not actually using Debugger.jl (which is completely separate from Juno’s or VSCode’s debugger), so even the RTFM’ing didn’t help much. RT-right-FM’ing would’ve led you [here](http://docs.junolab.org/latest/man/debugging/), which hopefully is a pretty good description.

---

<div class="post-metadata">

### Author: ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)
#### Post date: [April 15, 2020, 12:06pm UTC](https://discourse.julialang.org/t/first-look-debugger-jl-uncut/37599/4 "2020-04-15T12:06:03Z")

</div>

> [@pfitzseb](#):
>
> I think the reason for most of the troubles you were having stems from the fact that you’re not actually using Debugger.jl (which is completely separate from Juno’s or VSCode’s debugger),

I tried to make this clear in the [README for Debugger.jl](https://github.com/JuliaDebug/Debugger.jl#debugger) (it’s even in the video).:

> **Note** : If you are looking for the docs for the Juno IDE debugger, see [this link instead](https://docs.junolab.org/latest/man/debugging/)

Maybe I have to make it bigger 😛

---

<div class="post-metadata">

### Author: ![xiaodai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xiaodai/32/15937_2.png) [@xiaodai](https://discourse.julialang.org/u/xiaodai)
#### Post date: [April 15, 2020, 12:30pm UTC](https://discourse.julialang.org/t/first-look-debugger-jl-uncut/37599/5 "2020-04-15T12:30:03Z")

</div>

> [@kristoffer.carlsson](#):
>
> I tried to make this clear in the [README for Debugger.jl](https://github.com/JuliaDebug/Debugger.jl#debugger) (it’s even in the video).:

I guess it’s my fault. I need to read it more carefully.

---

<div class="post-metadata">

### Author: ![zhangliye](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zhangliye/32/3208_2.png) [@zhangliye](https://discourse.julialang.org/u/zhangliye)
#### Post date: [April 15, 2020, 1:23pm UTC](https://discourse.julialang.org/t/first-look-debugger-jl-uncut/37599/6 "2020-04-15T13:23:54Z")

</div>

I have tested JUNO and vscode-julia. According to my experience, vscode-julia is more user friendly and stable. The speed of the current version is much faster than v0.15. I used vscode-julia for the daily work. Only several painpoints some of which maybe not be caused by vscode-julia itself.

1. Speed is not quick enough, not smooth as Python IDE, and some times very slow (such as large project or code to load relative large data). This may be caused by [JuliaInterpreter.jl](https://github.com/JuliaDebug/JuliaInterpreter.jl).
2. If the enter function is in `file1.jl` which call a function in `file2.jl` and we only set the breakpoint in `file2.jl`, after pressing `run and debug`, it does not stop at the breakpoint in `file2.jl`. It runs to the end and exit instead.

According to my own experience, vscode-julia would be the one nearest to a usable/mature IDE, which possibly provide similar user-experience as Python IDE.

I made a very short video to should how to debug Julia code with vscode-julia IDE.  
[Debug Julia code with vscode-julia](https://youtu.be/Q4GFPD-j_EQ)

---

<div class="post-metadata">

### Author: ![davidanthoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidanthoff/32/223493_2.png) [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)
#### Post date: [April 15, 2020, 1:54pm UTC](https://discourse.julialang.org/t/first-look-debugger-jl-uncut/37599/7 "2020-04-15T13:54:00Z")

</div>

> [@zhangliye](#):
>
> If the enter function is in `file1.jl` which call a function in `file2.jl` and we only set the breakpoint in `file2.jl` , after pressing `run and debug` , it does not stop at the breakpoint in `file2.jl` . It runs to the end and exit instead.

That strikes me as a bug, _unless_ you run the debugger in compile mode (in which case this is to be expected). Could you open an issue if this occurs if you aren’t in compile mode?

> [@zhangliye](#):
>
> Speed is not quick enough, not smooth as Python IDE, and some times very slow (such as large project or code to load relative large data). This may be caused by [JuliaInterpreter.jl](https://github.com/JuliaDebug/JuliaInterpreter.jl).

Yes, there are some serious performance problems that affect all three debugger front-ends that use JuliaInterpreter.jl under the hood currently (Debugger.jl, Juno and VS Code).

---

<div class="post-metadata">

### Author: ![zhangliye](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zhangliye/32/3208_2.png) [@zhangliye](https://discourse.julialang.org/u/zhangliye)
#### Post date: [April 15, 2020, 2:28pm UTC](https://discourse.julialang.org/t/first-look-debugger-jl-uncut/37599/8 "2020-04-15T14:28:47Z")

</div>

> hat strikes me as a bug, _unless_ you run the debugger in compile mode (in which case this is to be expected). Could you open an issue if this occurs if you aren’t in compile mode?

It occurs only in the compile mode. Most of the time, I only use compile mode, which is a bit quicker.

Thank you so much for your work on vscode-julia. It really save me a lot of time!
