# Jump to error in source code in Juno REPL?

**URL:** https://discourse.julialang.org/t/jump-to-error-in-source-code-in-juno-repl/22464
**Category:** Juno
**Created:** [March 28, 2019, 3:30pm UTC](https://discourse.julialang.org/t/jump-to-error-in-source-code-in-juno-repl/22464 "2019-03-28T15:30:53Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Zhong\_Pan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zhong_pan/32/19872_2.png) [@Zhong\_Pan](https://discourse.julialang.org/u/Zhong_Pan)
#### Post date: [March 28, 2019, 3:30pm UTC](https://discourse.julialang.org/t/jump-to-error-in-source-code-in-juno-repl/22464/1 "2019-03-28T15:30:53Z")

</div>

This seems to be a basic operation but I couldn’t find it in the documentation or Internet… So here I am.

In Juno, if I run a script and there are errors, the REPL will show the error message together with the locations of the error in the source code (and obviously there is a Stacktrace of locations at various call levels, not just a single location).

If I hover my mouse over the location, it will be underlined as if it’s a clickable link. But when I click it, nothing happens, the editor does not navigate to the source code location like most other IDEs would do.

I tried Ctrl-click, Alt-click, Ctrl-Alt-click, double click, right click… Same result.

Am I missing something? Thanks for any help!

Versions: Windows 10 64-bit, Atom 1.35.1 x64, Julia 1.1.0 64-bit, Juno.jl v0.7.0, Atom.jl v0.8.2.

---

<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: [March 28, 2019, 3:58pm UTC](https://discourse.julialang.org/t/jump-to-error-in-source-code-in-juno-repl/22464/2 "2019-03-28T15:58:08Z")

</div>

That sounds like a bug. Can you post a screenshot, or at least the paths for which this does not work? Also try something like `0//0` in the REPL and try clicking the `./rational.jl` part.

---

<div class="post-metadata">

### Author: ![Zhong\_Pan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zhong_pan/32/19872_2.png) [@Zhong\_Pan](https://discourse.julialang.org/u/Zhong_Pan)
#### Post date: [March 28, 2019, 4:05pm UTC](https://discourse.julialang.org/t/jump-to-error-in-source-code-in-juno-repl/22464/3 "2019-03-28T16:05:09Z")

</div>

Thanks for quick reply!

I tried both in REPL and in script the “0//0” expression, and I was able to click and navigate to the error location in ./rational.jl.

However, for the script case, I was not able to click and navigate to the location in my own script where the error occurred.

Please see screenshot below. The mouse shows where I clicked but was not able to incur any navigation action in my own script “test.jl” which was open in the editor.

 ![atom_2019-03-28_11-01-37](https://global.discourse-cdn.com/julialang/original/3X/4/e/4e63293664bae53fba2590eb3e923d4a144922b8.png)

---

<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: [March 29, 2019, 10:43am UTC](https://discourse.julialang.org/t/jump-to-error-in-source-code-in-juno-repl/22464/4 "2019-03-29T10:43:06Z")

</div>

Fixed [here](https://github.com/JunoLab/Atom.jl/commit/48c5827ca87890a22b2d354552d389353a4e8d41). I inadvertently messed up the Windows part of some weird regex…  
Thanks for the report!

PS: It’s a bit easier for me to keep track of issues if you post them [in the Juno.jl repo](https://github.com/JunoLab/Juno.jl/issues/new/choose) instead of the forums.

---

<div class="post-metadata">

### Author: ![Zhong\_Pan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zhong_pan/32/19872_2.png) [@Zhong\_Pan](https://discourse.julialang.org/u/Zhong_Pan)
#### Post date: [March 29, 2019, 3:07pm UTC](https://discourse.julialang.org/t/jump-to-error-in-source-code-in-juno-repl/22464/5 "2019-03-29T15:07:36Z")

</div>

Great! Thank you for the fix!

I’m sometimes reluctant to open issues because I’m often not sure if it’s myself doing something wrong or being unaware of a trick.That’s why I come here to ask. 🙂

Maybe next time I’ll open an issue at the same time and refer to the issue when I ask here. If it turns out it’s not a real issue then I will go back to close it.

Thanks again!

---

<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: [March 29, 2019, 3:09pm UTC](https://discourse.julialang.org/t/jump-to-error-in-source-code-in-juno-repl/22464/6 "2019-03-29T15:09:38Z")

</div>

> [@Zhong\_Pan](#):
>
> I’m sometimes reluctant to open issues because I’m often not sure if it’s myself doing something wrong or being unaware of a trick.That’s why I come here to ask. 🙂

If you’re unsure what’s going on that is an issue as well – not a bug, maybe, but a UX problem.

---

<div class="post-metadata">

### Author: ![Zhong\_Pan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zhong_pan/32/19872_2.png) [@Zhong\_Pan](https://discourse.julialang.org/u/Zhong_Pan)
#### Post date: [March 29, 2019, 3:13pm UTC](https://discourse.julialang.org/t/jump-to-error-in-source-code-in-juno-repl/22464/7 "2019-03-29T15:13:53Z")

</div>

Good point. 😂
