A Julia debugger.
Build Status |
---|
]add https://github.com/JuliaDebug/JuliaInterpreter.jl
]add https://github.com/JuliaDebug/Debugger.jl
using Debugger
function foo(n)
x = n+1
((BigInt[1 1; 1 0])^x)[2,1]
end
@enter foo(20)
Basic Commands:
n
steps to the next lines
steps into the next callfinish
runs to the end of the functionbt
shows a simple backtrace`stuff
runsstuff
in the current frame's contextfr v
will show all variables in the current framef n
wheren
is an integer, will go to then
-th frame.
Advanced commands:
nc
steps to the next callns
steps to the next statementse
does one expression stepsi
does the same but steps into a call if a call is the next expressionsg
steps into a generated function