NOTE: this package is deprecated. Use Debugger.jl or Juno, both of which use JuliaInterpeter.
using Pkg
]add ASTInterpreter2#master
]add DebuggerFramework#masterusing ASTInterpreter2
function foo(n)
x = n+1
((BigInt[1 1; 1 0])^x)[2,1]
end
@enter foo(20)
Basic Commands:
nsteps to the next linessteps into the next callfinishruns to the end of the functionbtshows a simple backtrace`stuffrunsstuffin the current frame's contextfr vwill show all variables in the current framef nwherenis an integer, will go to then-th frame.
Advanced commands:
ncsteps to the next callnssteps to the next statementsedoes one expression stepsidoes the same but steps into a call if a call is the next expressionsgsteps into a generated functionshadowshows the internal representation of the expression tree (for debugger debugging only)locshows the column data for the current top frame, in the same format as JuliaParsers's testshell.
This is a prototype, do not expect it to be correct or usable.