# Julia debugging is extremely slow

**URL:** https://discourse.julialang.org/t/julia-debugging-is-extremely-slow/135839
**Category:** New to Julia
**Tags:** debug
**Created:** [February 25, 2026, 1:25pm UTC](https://discourse.julialang.org/t/julia-debugging-is-extremely-slow/135839 "2026-02-25T13:25:33Z")
**Posts on this page:** 20
**Page:** 4

<div class="post-metadata">

### Author: ![George9000](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/george9000/32/23619_2.png) [@George9000](https://discourse.julialang.org/u/George9000)
#### Post date: [February 27, 2026, 8:44pm UTC](https://discourse.julialang.org/t/julia-debugging-is-extremely-slow/135839/61 "2026-02-27T20:44:57Z")

</div>

In the replies is a mention of Revise. If you use this workflow with pertinent Revise lines in your `~/.julia/config/startup.jl` file, debugging becomes easier. I set up a simple 'package, ’ for each project using julia `generate`. Most of mine involve data analysis with DataFrames and CSV. So in the directory `myproject`, I have an `analysis.jl` and a `src` sub-directory. All the functions go in the `src/myproject.jl` file. So write the function defintion for `foo()` there. Run foo() inside analysis.jl which will display to the REPL from VS Code. For debugging, just comment out the relevant foo() lines in src/myproject.jl or use show() and println(). From time to time I use Infiltrator as well inside the foo() definition in src/myproject.jl This works well for me, and I hope it helps you.

---

<div class="post-metadata">

### Author: ![madppiper](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/madppiper/32/220029_2.png) [@madppiper](https://discourse.julialang.org/u/madppiper)
#### Post date: [February 27, 2026, 11:41pm UTC](https://discourse.julialang.org/t/julia-debugging-is-extremely-slow/135839/62 "2026-02-27T23:41:42Z")

</div>

@tue: I just released a new release that addresses many of your concerns and feature wishes. You can now make it pause on error. Run multiline scripts while in debug mode etc. Step into also works now. I also fixed various other overlapping issues, so the experience is much nicer. Would love your feedback 🙂

> [@New: Julia for JetBrains IDEs (Flexible Julia)](https://discourse.julialang.org/t/new-julia-for-jetbrains-ides-flexible-julia/134658/159):
>
> New Release: Flexible Julia 2026.9.2 New Features: Julia Profiler: CPU sampling profiler with flame graph, call tree, and method list views Step Into (F7): Now works properly (warning: not in compiled mode), F8/F9 stepping is silent, stale variables no longer leak Extended Debug Commands: nc, se, si, sg, u \<line\>, o Break on Error: Debugger pauses at throw site on uncaught exceptions for full stack/variable inspection (#72) Debug Console REPL: Evaluate expressions interactively during debuggi…

---

<div class="post-metadata">

### Author: ![tue](https://avatars.discourse-cdn.com/v4/letter/t/4491bb/32.png) [@tue](https://discourse.julialang.org/u/tue)
#### Post date: [March 2, 2026, 7:31am UTC](https://discourse.julialang.org/t/julia-debugging-is-extremely-slow/135839/63 "2026-03-02T07:31:09Z")

</div>

I tested out the new version, but I could not get the expression evaluator to work.

---

<div class="post-metadata">

### Author: ![xlxs4](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xlxs4/32/223653_2.png) [@xlxs4](https://discourse.julialang.org/u/xlxs4)
#### Post date: [March 2, 2026, 10:44am UTC](https://discourse.julialang.org/t/julia-debugging-is-extremely-slow/135839/64 "2026-03-02T10:44:51Z")

</div>

Working more with C, I’ve adopted the stance that the tooling around a programming language is more important than the language itself

---

<div class="post-metadata">

### Author: ![tue](https://avatars.discourse-cdn.com/v4/letter/t/4491bb/32.png) [@tue](https://discourse.julialang.org/u/tue)
#### Post date: [March 3, 2026, 7:15am UTC](https://discourse.julialang.org/t/julia-debugging-is-extremely-slow/135839/65 "2026-03-03T07:15:41Z")

</div>

I find this to be true as well. I really like Julia as a programming language, but I find that the tools I need to use it are simply not mature enough. So after a bit more than a week of testing out Julia again I am abandoning this project and will convert the Fortran code to another language. Thanks for all the replies and help I got while testing this out.

---

<div class="post-metadata">

### Author: ![isaacsas](https://avatars.discourse-cdn.com/v4/letter/i/f6c823/32.png) [@isaacsas](https://discourse.julialang.org/u/isaacsas)
#### Post date: [March 3, 2026, 1:02pm UTC](https://discourse.julialang.org/t/julia-debugging-is-extremely-slow/135839/66 "2026-03-03T13:02:00Z")

</div>

Just out of curiosity, have you tried using an AI to debug for you? I find I rarely debug in a classical workflow myself any more (either lots of print statements or using a debugger), as AIs tend to be quite good at hunting down the cause of bugs. I’ve had several bugs diagnosed by AIs that probably would have taken me much much longer to figure out, simply because they are very good at looking at diffs across many packages overtime to understand what caused a new bug to appear, along with writing a bunch of test scripts to isolate and reproduce bugs. I may have to then give them guidance on how to best fix the bug, but it is rare they can’t find the source of a bug themselves.

I mention this because if I were investigating porting code to new languages these days, the tool I would most care about working well with the language would be AIs.

---

<div class="post-metadata">

### Author: ![liuyxpp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/liuyxpp/32/9870_2.png) [@liuyxpp](https://discourse.julialang.org/u/liuyxpp)
#### Post date: [March 3, 2026, 1:27pm UTC](https://discourse.julialang.org/t/julia-debugging-is-extremely-slow/135839/67 "2026-03-03T13:27:42Z")

</div>

I am assuming OP totally ignored my reply. But you describe this much more in detail. I share your observation and these days I don’t bother to debug myself.

---

<div class="post-metadata">

### Author: ![xlxs4](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xlxs4/32/223653_2.png) [@xlxs4](https://discourse.julialang.org/u/xlxs4)
#### Post date: [March 3, 2026, 1:31pm UTC](https://discourse.julialang.org/t/julia-debugging-is-extremely-slow/135839/68 "2026-03-03T13:31:26Z")

</div>

Still, the effectiveness of using GenAI to debug would be amplified with good tooling, be it profilers, debuggers, sanitizers, testing frameworks… I am personally against using GenAI for many reasons. I’d like to highlight that programming, IMO, is a way to build understanding about the problem at hand. If we assume that you are almost always interpreting your code wrong and the computer is almost always interpreting your code right, debugging is an every better way to build understanding about the underlying problem, since bugs make it easy for you to identify a mismatch between your mental model of the problem and the reality of the problem. You spend more time reading your code than the compiler does. The point of programming is that the machine is here to help you understand the problem. The way to get better at your craft, by and large, is to hone your comprehension skills. Articles such as [Things unlearned](https://www.scattered-thoughts.net/writing/things-unlearned/) really resonate with me. Plus, why strip yourself of all the joy you can get when things finally click inside your head, the joy of discovery?

---

<div class="post-metadata">

### Author: ![isaacsas](https://avatars.discourse-cdn.com/v4/letter/i/f6c823/32.png) [@isaacsas](https://discourse.julialang.org/u/isaacsas)
#### Post date: [March 3, 2026, 1:43pm UTC](https://discourse.julialang.org/t/julia-debugging-is-extremely-slow/135839/69 "2026-03-03T13:43:51Z")

</div>

Sorry I had actually read your reply, but it was several days ago now and I forgot about it!

---

<div class="post-metadata">

### Author: ![xlxs4](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xlxs4/32/223653_2.png) [@xlxs4](https://discourse.julialang.org/u/xlxs4)
#### Post date: [March 3, 2026, 1:44pm UTC](https://discourse.julialang.org/t/julia-debugging-is-extremely-slow/135839/70 "2026-03-03T13:44:46Z")

</div>

One more thing. Using print statements vs using a debugger is a false dichotomy IMO. You reach for the debugger only if:

- you know how to use it effectively
- it can easily give you more information about the state of the program compared to print statements, and, most importantly,
- it is performant enough so it doesn’t considerably slow you down and break your workflow and concentration

If you haven’t worked in an environment where the tooling is good enough, it’s easy to dismiss the need of having such tooling itself

---

<div class="post-metadata">

### Author: ![isaacsas](https://avatars.discourse-cdn.com/v4/letter/i/f6c823/32.png) [@isaacsas](https://discourse.julialang.org/u/isaacsas)
#### Post date: [March 3, 2026, 1:50pm UTC](https://discourse.julialang.org/t/julia-debugging-is-extremely-slow/135839/71 "2026-03-03T13:50:32Z")

</div>

I agree with what you say for when one is learning to program, and learning how to design algorithms / implement methods in programming languages. Without significant experience and knowledge, you will not be able to properly supervise an AI, plan effectively with it, or properly review code it generates. You need to build that base competency.

I think, however, that once one is sufficiently sophisticated in their experience / knowledge, using an AI is not much different than having a dedicated (competent but not perfect) junior programmer who works for you. You still need to carefully review what they do, and to really help them plan out more involved tasks, but you can let them work on tasks on their own in between planning and review. The end result of this approach, in my experience so far, is code that I do not think differs much from what I would write myself (but in taking a substantially longer amount of time on my own).

In any case, perhaps this isn’t the place for such a discussion as this is getting a bit off topic now for the thread.

---

<div class="post-metadata">

### Author: ![madppiper](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/madppiper/32/220029_2.png) [@madppiper](https://discourse.julialang.org/u/madppiper)
#### Post date: [March 3, 2026, 2:02pm UTC](https://discourse.julialang.org/t/julia-debugging-is-extremely-slow/135839/72 "2026-03-03T14:02:40Z")

</div>

A shame that you reached that conclusion @tue. Julia is a beautiful language with an active community and I for my part like to believe that the tools surrounding it are getting better by the day 🙂

But I will take your criticism at heart and look at how we can push this further. Thanks for the honesty.

---

<div class="post-metadata">

### Author: ![tue](https://avatars.discourse-cdn.com/v4/letter/t/4491bb/32.png) [@tue](https://discourse.julialang.org/u/tue)
#### Post date: [March 3, 2026, 2:04pm UTC](https://discourse.julialang.org/t/julia-debugging-is-extremely-slow/135839/73 "2026-03-03T14:04:03Z")

</div>

Your suggestion to use AI for debugging is probably a good one, but for me that is not a replacement for a proper debugging environment, and if a language is requiring me to use this then that is not a language for me. Personally I find that ai does not really contribute much to my development. It is only when I am learning a new framework or building something standard that AI provides reasonable answers, but for specialized tasks or HPC it is more a distraction than a help in my experience.

---

<div class="post-metadata">

### Author: ![tue](https://avatars.discourse-cdn.com/v4/letter/t/4491bb/32.png) [@tue](https://discourse.julialang.org/u/tue)
#### Post date: [March 3, 2026, 2:12pm UTC](https://discourse.julialang.org/t/julia-debugging-is-extremely-slow/135839/74 "2026-03-03T14:12:01Z")

</div>

As I said, I really love Julia as a language and it is with sadness that I once again have to abandon Julia. Hopefully your work will help transform Julia into something that I can one day develop in. 🙂

---

<div class="post-metadata">

### Author: ![aplavin](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/aplavin/32/222056_2.png) [@aplavin](https://discourse.julialang.org/u/aplavin)
#### Post date: [March 3, 2026, 2:50pm UTC](https://discourse.julialang.org/t/julia-debugging-is-extremely-slow/135839/75 "2026-03-03T14:50:55Z")

</div>

> [@tue](#):
>
> the only people actually using julia at this point are people who are happy to code without a debugger

Not sure if that’s the case or not, but it’s totally feasible there is such a selection effect!

Before switching to Julia, I mostly wrote Python, and barely used a debugger ever (heavily used it in C++ before that though).  
Switched to Julia, and naturally didn’t miss a debugger much 🙂 Executing line by line and/or adding focused prints have generally been enough for me.

---

<div class="post-metadata">

### Author: ![DNF](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dnf/32/10191_2.png) [@DNF](https://discourse.julialang.org/u/DNF)
#### Post date: [March 3, 2026, 5:29pm UTC](https://discourse.julialang.org/t/julia-debugging-is-extremely-slow/135839/76 "2026-03-03T17:29:22Z")

</div>

> [@isaacsas](#):
>
> I think, however, that once one is sufficiently sophisticated in their experience / knowledge, using an AI is not much different than having a dedicated (competent but not perfect) junior programmer who works for you. You still need to carefully review what they do

How long do you think it takes before your programming and reasoning skills deteriorate to the point where you can no longer effectively review the code?

I fear it won’t take very long at all for me. And for new programmers, I don’t see how they will ever get to that point.

In the end you outsource the entire problem to the machine, because why not? Perhaps you even forget why you wanted to solve it in the first place.

---

<div class="post-metadata">

### Author: ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)
#### Post date: [March 3, 2026, 6:17pm UTC](https://discourse.julialang.org/t/julia-debugging-is-extremely-slow/135839/77 "2026-03-03T18:17:20Z")

</div>

That’s probably how assembler programmers felt the first time Fortran appeared.

---

<div class="post-metadata">

### Author: ![fingolfin](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fingolfin/32/6033_2.png) [@fingolfin](https://discourse.julialang.org/u/fingolfin)
#### Post date: [March 3, 2026, 9:22pm UTC](https://discourse.julialang.org/t/julia-debugging-is-extremely-slow/135839/78 "2026-03-03T21:22:12Z")

</div>

The lack of a good debugging story is also a major downside of Julia for me. I also like Julia a lot, working on some big packages for it.

And I heavily use the REPL, Revise, etc. But being able to just attach a debugger and inspect the state of the program, then step through it, is sooo much better than some of the alternatives…

In fact I am also spoiled by working with an obscure math programming language, GAP, which has something called a break loop, which is a bit like “Infiltrate on every error” – with a full feature prompt where you can do everything, including viewing variables, modifying them, or resuming the program after the error.

I understand why all these things are much harder in Julia (it’s a downside of running compiled code), and I cope, but I _totally_ get the frustration.

And no offense to the people who are hard at work on Debugger.jl, VS Code, the JetBrains IDE plugin etc., but I found them unusable for heavy duty code; I can’t wait 5 minutes each time I step over a function call.

---

<div class="post-metadata">

### Author: ![Jake](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jake/32/46007_2.png) [@Jake](https://discourse.julialang.org/u/Jake)
#### Post date: [March 3, 2026, 10:28pm UTC](https://discourse.julialang.org/t/julia-debugging-is-extremely-slow/135839/79 "2026-03-03T22:28:27Z")

</div>

> [@aplavin](#):
>
> Switched to Julia, and naturally didn’t miss a debugger much 🙂 Executing line by line and/or adding focused prints have generally been enough for me.

In Julia I do miss the ease of line by line execution that I have in Matlab.

---

<div class="post-metadata">

### Author: ![goerz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goerz/32/3269_2.png) [@goerz](https://discourse.julialang.org/u/goerz)
#### Post date: [March 3, 2026, 10:29pm UTC](https://discourse.julialang.org/t/julia-debugging-is-extremely-slow/135839/80 "2026-03-03T22:29:07Z")

</div>

> [@fingolfin](#):
>
> But being able to just attach a debugger and inspect the state of the program, then step through it, is sooo much better than some of the alternatives…

I completely agree that the lack of a robust debugger is a major sore point in the tooling around the Julia language. But I would point out that it is possible to combine [Infiltrator](https://github.com/JuliaDebug/Infiltrator.jl) and [Debugger](https://github.com/JuliaDebug/Debugger.jl): Set a breakpoint with Infiltrator, and then in the resulting REPL, make an `@enter` call. This doesn’t cover [the _full_ use case of a proper debugger](https://discourse.julialang.org/t/development-resources-for-julia-ecosystem/122907/43), but it goes a long way.

> [@tue](#):
>
> I find that the tools I need to use it are simply not mature enough. So after a bit more than a week of testing out Julia again I am abandoning this project and will convert the Fortran code to another language.

Julia is indeed, and unfortunately, pretty rough around the tooling edges, but I wonder if you wouldn’t end up better off by exploring some alternative workflows and debugging techniques, rather than abandoning the attempt because it doesn’t support the exact workflow that you’re used to. I would generally still consider Julia an _excellent_ choice for porting Fortran code. Yes, the Debugger isn’t in great shape, but conversely there are a lot of interactive workflows that Julia enables, that just aren’t possible in Fortran. What did you have in mind as “another language”?

[Previous page](https://discourse.julialang.org/t/julia-debugging-is-extremely-slow/135839.md?page=3)

[Next page](https://discourse.julialang.org/t/julia-debugging-is-extremely-slow/135839.md?page=5)
