-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
The example worked for me in Julia 1.10 but not 1.11.
MWE:
using Debugger
function foo(n)
x = n+1
((BigInt[1 1; 1 0])^x)[2,1]
end
@enter foo(20)
Error:
ERROR: Debugger.jl requires a LineEditREPL type of REPL
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] RunDebugger(frame::JuliaInterpreter.Frame, repl::Nothing, terminal::Nothing; initial_continue::Bool)
@ Debugger ~/atdepth/comparing_oceananigans_1.10_1.11/julia_depot_1.11/packages/Debugger/zdZP1/src/repl.jl:20
[3] RunDebugger
@ ~/atdepth/comparing_oceananigans_1.10_1.11/julia_depot_1.11/packages/Debugger/zdZP1/src/repl.jl:12 [inlined]
[4] RunDebugger(frame::JuliaInterpreter.Frame)
@ Debugger ~/atdepth/comparing_oceananigans_1.10_1.11/julia_depot_1.11/packages/Debugger/zdZP1/src/repl.jl:12
[5] macro expansion
@ ~/atdepth/comparing_oceananigans_1.10_1.11/julia_depot_1.11/packages/Debugger/zdZP1/src/Debugger.jl:127 [inlined]
[6] top-level scope
@ REPL[3]:1
which is a bit confusing to me because
julia> typeof(Base.active_repl)
REPL.LineEditREPL
Environment: I'm using Julia 1.11 with Debugger.jl v0.7.10.
julia> versioninfo()
Julia Version 1.11.2
Commit 5e9a32e7af2 (2024-12-01 20:02 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 48 × AMD Ryzen Threadripper 7960X 24-Cores
WORD_SIZE: 64
LLVM: libLLVM-16.0.6 (ORCJIT, znver4)
Threads: 1 default, 0 interactive, 1 GC (on 48 virtual cores)
Environment:
LD_PRELOAD = /usr/NX/lib/libnxegl.so
Tokazama
Metadata
Metadata
Assignees
Labels
No labels