# Unable to evaluate parameters in Juno.@enter debugger

**URL:** <https://discourse.julialang.org/t/unable-to-evaluate-parameters-in-juno-enter-debugger/31680>\
**Category:** New to Julia\
**Created:** [November 30, 2019, 2:56am UTC](https://discourse.julialang.org/t/unable-to-evaluate-parameters-in-juno-enter-debugger/31680 "2019-11-30T02:56:36Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![venuur](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/venuur/32/6493_2.png) [@venuur](https://discourse.julialang.org/u/venuur)\
**Post date:** [November 30, 2019, 2:56am UTC](https://discourse.julialang.org/t/unable-to-evaluate-parameters-in-juno-enter-debugger/31680/1 "2019-11-30T02:56:36Z")

</div>

On Windows 10 with Juno 1.40.0 (I think, downloaded via Julia Pro 1.2), I’m trying to use the Juno debugger via `Juno.@enter`, but I am unable to evaluate the parameters of my function, unlike in the example. The documentation suggests I should be able to do that.

Here’s the function in a `.jl` file. I use `C-<enter>` to evaluate the function at the repl.

```julia
function f(x, y, z)
    println(x)
    println(y)
    println(z)
end

```

I then run `Juno.@enter`, and the debugger appears to start without trouble, but I get an error when I try to inspect the value of `x`:

```julia
Starting Julia...
               _
   _ _ _(_)_ | Documentation: https://docs.julialang.org
  (_) | (_) (_) |
   _ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` | |
  | | |_| | | | (_| | | Version 1.2.0 (2019-08-20)
 _/ |\ __'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |

julia> Juno.@enter f(1,2,3)
debug> x
ERROR: ArgumentError: invalid index: Symbol("#self#") of type Symbol
Stacktrace:
 [1] to_index(::Symbol) at .\indices.jl:270
 [2] to_index(::Array{Int64,1}, ::Symbol) at .\indices.jl:247
 [3] to_indices at .\indices.jl:298 [inlined]
 [4] to_indices at .\indices.jl:295 [inlined]
 [5] getindex at .\abstractarray.jl:981 [inlined]
 [6] eval_code(::JuliaInterpreter.Frame, ::String) at C:\Users\carlm\.juliapro\JuliaPro_v1.2.0-1\packages\Atom\Wouyw\src\debugger\stepper.jl:460   
 [7] interpret at C:\Users\carlm\.juliapro\JuliaPro_v1.2.0-1\packages\Atom\Wouyw\src\debugger\stepper.jl:437 [inlined]
 [8] interpret at C:\Users\carlm\.juliapro\JuliaPro_v1.2.0-1\packages\Atom\Wouyw\src\debugger\stepper.jl:436 [inlined]
 [9] (::getfield(Atom.JunoDebugger, Symbol("##56#58")))(::REPL.LineEdit.MIState, ::Base.GenericIOBuffer{Array{UInt8,1}}, ::Bool) at C:\Users\carlm\.juliapro\JuliaPro_v1.2.0-1\packages\Atom\Wouyw\src\debugger\stepper.jl:226
 [10] #invokelatest#1 at .\essentials.jl:790 [inlined]
 [11] invokelatest at .\essentials.jl:789 [inlined]
 [12] run_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at C:\Users\julia\AppData\Local\Julia-1.2.0\share\julia\stdlib\v1.2\REPL\src\LineEdit.jl:2306
 [13] run_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface) at C:\Users\julia\AppData\Local\Julia-1.2.0\share\julia\stdlib\v1.2\REPL\src\LineEdit.jl:2300
 [14] debugprompt() at C:\Users\carlm\.juliapro\JuliaPro_v1.2.0-1\packages\Atom\Wouyw\src\debugger\stepper.jl:242
 [15] (::getfield(Atom.JunoDebugger, Symbol("##52#54")))() at .\task.jl:268

```

Not sure what’s wrong with my setup. Any idea of where to look?

---

<div class="post-metadata">

**Author:** ![Yosef](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yosef/32/11689_2.png) [@Yosef](https://discourse.julialang.org/u/Yosef)\
**Post date:** [December 4, 2019, 1:46pm UTC](https://discourse.julialang.org/t/unable-to-evaluate-parameters-in-juno-enter-debugger/31680/2 "2019-12-04T13:46:48Z")

</div>

I experienced the exact same error.  
Hope someone can offer a solution.  
Thanks

---

<div class="post-metadata">

**Author:** ![Volker](https://avatars.discourse-cdn.com/v4/letter/v/77aa72/32.png) [@Volker](https://discourse.julialang.org/u/Volker)\
**Post date:** [December 5, 2019, 2:54pm UTC](https://discourse.julialang.org/t/unable-to-evaluate-parameters-in-juno-enter-debugger/31680/3 "2019-12-05T14:54:56Z")

</div>

I also experienced the same error message during debugging, when I try to evaluate code, whichs contain a data frame.

---

<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:** [December 6, 2019, 8:48am UTC](https://discourse.julialang.org/t/unable-to-evaluate-parameters-in-juno-enter-debugger/31680/4 "2019-12-06T08:48:20Z")

</div>

What exact version of JuliaPro are you using?

---

<div class="post-metadata">

**Author:** ![venuur](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/venuur/32/6493_2.png) [@venuur](https://discourse.julialang.org/u/venuur)\
**Post date:** [December 6, 2019, 10:02am UTC](https://discourse.julialang.org/t/unable-to-evaluate-parameters-in-juno-enter-debugger/31680/5 "2019-12-06T10:02:53Z")

</div>

I’ll try it again soon but when I posted this question. I’d done a fresh install either the same day or at most a day or two before.

---

<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:** [December 6, 2019, 10:23am UTC](https://discourse.julialang.org/t/unable-to-evaluate-parameters-in-juno-enter-debugger/31680/6 "2019-12-06T10:23:22Z")

</div>

The current version of JuliaPro is `JuliaPro-1.2.0-1_build-51`, with which the debugger works fine for me.

---

<div class="post-metadata">

**Author:** ![Volker](https://avatars.discourse-cdn.com/v4/letter/v/77aa72/32.png) [@Volker](https://discourse.julialang.org/u/Volker)\
**Post date:** [December 6, 2019, 12:10pm UTC](https://discourse.julialang.org/t/unable-to-evaluate-parameters-in-juno-enter-debugger/31680/7 "2019-12-06T12:10:09Z")

</div>

I`m working with JuliaPro-1.2.0-1. Where do I find the build version?

---

<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:** [December 6, 2019, 2:00pm UTC](https://discourse.julialang.org/t/unable-to-evaluate-parameters-in-juno-enter-debugger/31680/8 "2019-12-06T14:00:28Z")

</div>

I think you can only find that in the installer’s file name. Just checked with the latest binary for Windows (JuliaPro-1.2.0-1\_build-236), and everything seems to be working fine.

---

<div class="post-metadata">

**Author:** ![venuur](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/venuur/32/6493_2.png) [@venuur](https://discourse.julialang.org/u/venuur)\
**Post date:** [December 7, 2019, 10:39am UTC](https://discourse.julialang.org/t/unable-to-evaluate-parameters-in-juno-enter-debugger/31680/9 "2019-12-07T10:39:01Z")

</div>

I didn’t try it with Julia Pro, but I setup Julia 1.3 with Juno and it’s all working. Best I can guess is that I broke my JuliaPro installation somehow.

In particular I sometimes get stuck installing a package because my internet is slow and sometimes if I cancel in the middle things don’t revert correctly.

The new debugger looks pretty cool, so I’m looking forward to using it.

---

<div class="post-metadata">

**Author:** ![Peter\_Uhl](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/peter_uhl/32/11862_2.png) [@Peter\_Uhl](https://discourse.julialang.org/u/Peter_Uhl)\
**Post date:** [December 16, 2019, 7:56pm UTC](https://discourse.julialang.org/t/unable-to-evaluate-parameters-in-juno-enter-debugger/31680/10 "2019-12-16T19:56:16Z")

</div>

Did anyone find a solution to this?

---

<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:** [December 16, 2019, 8:31pm UTC](https://discourse.julialang.org/t/unable-to-evaluate-parameters-in-juno-enter-debugger/31680/11 "2019-12-16T20:31:49Z")

</div>

Updating to the latest build of JuliaPro should work. Can you give that a go?

---

<div class="post-metadata">

**Author:** ![Peter\_Uhl](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/peter_uhl/32/11862_2.png) [@Peter\_Uhl](https://discourse.julialang.org/u/Peter_Uhl)\
**Post date:** [December 16, 2019, 9:50pm UTC](https://discourse.julialang.org/t/unable-to-evaluate-parameters-in-juno-enter-debugger/31680/12 "2019-12-16T21:50:30Z")

</div>

Yep that did it, thanks

---

<div class="post-metadata">

**Author:** ![Peter\_Uhl](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/peter_uhl/32/11862_2.png) [@Peter\_Uhl](https://discourse.julialang.org/u/Peter_Uhl)\
**Post date:** [December 17, 2019, 2:37am UTC](https://discourse.julialang.org/t/unable-to-evaluate-parameters-in-juno-enter-debugger/31680/13 "2019-12-17T02:37:26Z")

</div>

Actually I reinstalled JuliaPro and at first it was working, but I’ve started getting the same error again when, can you advise?

---

<div class="post-metadata">

**Author:** ![endore](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/endore/32/12214_2.png) [@endore](https://discourse.julialang.org/u/endore)\
**Post date:** [January 29, 2020, 3:55am UTC](https://discourse.julialang.org/t/unable-to-evaluate-parameters-in-juno-enter-debugger/31680/14 "2020-01-29T03:55:11Z")

</div>

I have the latest build for Windows (JuliaPro-1.2.0-1\_build-236) and getting the same error. Here are some details from Juno

# Atom:

Version: 1.40.1  
Dev Mode: false  
Official Release: true  
{  
“http\_parser”: “2.8.0”,  
“node”: “10.2.0”,  
“v8”: “6.6.346.32”,  
“uv”: “1.20.3”,  
“zlib”: “1.2.11”,  
“ares”: “1.14.0”,  
“modules”: “64”,  
“nghttp2”: “1.29.0”,  
“napi”: “3”,  
“openssl”: “1.1.0h”,  
“electron”: “3.1.10”,  
“chrome”: “66.0.3359.181”  
}

# julia-client:

Version: 0.9.4  
Config:  
{  
“firstBoot”: false,  
“juliaOptions”: {  
“bootMode”: “Cycler”  
},  
“juliaPath”: “C:\Users\jscon\AppData\Local\JuliaPro-1.2.0-1\Julia-1.2.0\bin\julia.exe”,  
“uiOptions”: {  
“enableMenu”: true,  
“enableToolBar”: true,  
“layouts”: {  
“openDefaultPanesOnStartUp”: true  
}  
}  
}

# ink:

Version: 0.10.12  
Config:  
undefined

# uber-juno:not installed

# language-julia:

Version: 0.19.1  
Config:  
undefined

# language-weave:not installed

# indent-detective:not installed

Julia Version 1.2.0  
Commit c6da87ff4b (2019-08-20 00:03 UTC)  
Platform Info:  
OS: Windows (x86\_64-w64-mingw32)  
CPU: Intel(R) Core™ i5-9400F CPU @ 2.90GHz  
WORD\_SIZE: 64  
LIBM: libopenlibm  
LLVM: libLLVM-6.0.1 (ORCJIT, skylake)  
Environment:  
JULIA\_EDITOR = “C:\Users\jscon\AppData\Local\JuliaPro-1.2.0-1\app-1.40.1\atom.exe” -a  
JULIA\_NUM\_THREADS = 3  
JULIA\_PKG\_SERVER = [https://pkg.juliacomputing.com/](https://pkg.juliacomputing.com/)  
JULIA\_PKG\_TOKEN\_PATH = C:\Users\jscon.juliapro\token.toml

```
Status `C:\Users\jscon\.juliapro\JuliaPro_v1.2.0-1\environments\v1.2\Project.toml`

```

[c52e3926] Atom v0.9.1  
[6e4b80f9] BenchmarkTools v0.4.3  
[7073ff75] IJulia v1.19.0  
[e5e0dc1b] Juno v0.7.1

---

<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:** [January 29, 2020, 8:54am UTC](https://discourse.julialang.org/t/unable-to-evaluate-parameters-in-juno-enter-debugger/31680/15 "2020-01-29T08:54:10Z")

</div>

Does that happen for every function you’re debugging, e.g. for something as simple as `Juno.@enter gcd(2,3)`?

---

<div class="post-metadata">

**Author:** ![endore](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/endore/32/12214_2.png) [@endore](https://discourse.julialang.org/u/endore)\
**Post date:** [January 30, 2020, 12:53am UTC](https://discourse.julialang.org/t/unable-to-evaluate-parameters-in-juno-enter-debugger/31680/16 "2020-01-30T00:53:39Z")

</div>

yes, just tested it
