I am trying to use the debugger that comes with JuliaPro 1.2.0-1. This collection of software provides an IDE (Atom) and a debugger ("Juno", or something).
A create a new .jl
file containing only
function test()
a = 1
b = 2
end
And put a breakpoint on line 2, a=1
.
I then either copy and paste it into the REPL (interactive julia pane), or select the code and hit Ctrl+Enter to do the same.
Now test()
is defined in the REPL session. I then open the debugger. Now everything looks like below:
After a lot of trouble with poor documentation, I figured out how to start the debugging session by executing Juno.@enter test()
in the REPL window. I do so, and it hits the breakpoint supposedly:
I then want to to interact with the variables inside test()
. Such as calling print(a)
. It prints, but then some weird error occurs:
If I just type a
, I get:
Supposedly c
and fm
are commands in the debug session, but they don't work.
So I'm completely confused. Is the debugger broken? Am I using it incorrectly? Thanks for your help.