-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Hi,
From time to time, the debugger crashes in VS Code when stepping through lines one by one. I suspect that it might be a timing-related issue because it usually doesn't occur when I keep a couple of seconds between the steps. Here is the error message and the stacktrace:
┌ Error: Some Julia code in the VS Code extension crashed
└ @ VSCodeDebugger ~/.vscode-server/extensions/julialang.language-julia-1.149.2/scripts/error_handler.jl:15
ERROR: BoundsError: attempt to access 0-element Vector{VSCodeDebugger.DebugAdapter.VariableReference} at index [1]
Stacktrace:
[1] throw_boundserror(A::Vector{VSCodeDebugger.DebugAdapter.VariableReference}, I::Tuple{Int64})
@ Base ./essentials.jl:15
[2] getindex
@ ./essentials.jl:919 [inlined]
[3] variables_request(debug_session::VSCodeDebugger.DebugAdapter.DebugSession, params::VSCodeDebugger.DebugAdapter.VariablesArguments)
@ VSCodeDebugger.DebugAdapter ~/.vscode-server/extensions/julialang.language-julia-1.149.2/scripts/packages/DebugAdapter/src/debugger_requests.jl:637
[4] (::VSCodeDebugger.DebugAdapter.var"#150#151"{VSCodeDebugger.DebugAdapter.DebugSession})(params::VSCodeDebugger.DebugAdapter.VariablesArguments)
@ VSCodeDebugger.DebugAdapter ~/.vscode-server/extensions/julialang.language-julia-1.149.2/scripts/packages/DebugAdapter/src/packagedef.jl:77
[5] dispatch_msg(x::VSCodeDebugger.DebugAdapter.DAPRPC.DAPEndpoint{Base.PipeEndpoint, Base.PipeEndpoint}, dispatcher::VSCodeDebugger.DebugAdapter.DAPRPC.MsgDispatcher, msg::Dict{String, Any})
@ VSCodeDebugger.DebugAdapter.DAPRPC ~/.vscode-server/extensions/julialang.language-julia-1.149.2/scripts/packages/DebugAdapter/src/DAPRPC/typed.jl:93
[6] (::VSCodeDebugger.DebugAdapter.var"#188#189"{Dict{String, Any}, VSCodeDebugger.var"#startdebugger##0#startdebugger##1"{String}, VSCodeDebugger.DebugAdapter.DAPRPC.MsgDispatcher, VSCodeDebugger.DebugAdapter.DAPRPC.DAPEndpoint{Base.PipeEndpoint, Base.PipeEndpoint}})()
@ VSCodeDebugger.DebugAdapter ~/.vscode-server/extensions/julialang.language-julia-1.149.2/scripts/packages/DebugAdapter/src/packagedef.jl:99
System information:
Julia Version 1.12.1
Commit ba1e628ee49 (2025-10-17 13:02 UTC)
Build Info:
Official https://julialang.org release
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 96 × AMD EPYC 7352 24-Core Processor
WORD_SIZE: 64
LLVM: libLLVM-18.1.7 (ORCJIT, znver2)
GC: Built with stock GC
VS Code version: 1.105.1
Additionally, I would like to note that I work on a remote server via SSH.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working