I’m running into a problem where I don’t even know where to start looking for the problem. Well, it seems that there is an undefined variable in the error_handler.jl file so I’m guessing it might be a bug in the VSCodeDebugger extension?
My debugger crashed on me with the following error message:
┌ Error: Some Julia code in the VS Code extension crashed
└ @ VSCodeDebugger ~/.vscode/extensions/julialang.language-julia-1.127.2/scripts/error_handler.jl:15
ERROR: UndefVarError: uuid4
not defined in VSCodeDebugger.DebugAdapter
┌ Error: Some Julia code in the VS Code extension crashed
└ @ VSCodeDebugger ~/.vscode/extensions/julialang.language-julia-1.127.2/scripts/error_handler.jl:15
Suggestion: check for spelling errors or missing imports.ERROR:
Hint: UndefVarError: uuid4
not defineda global variable of this name may be made accessible by importing UUIDs in the current active module Main in VSCodeDebugger.DebugAdapter
Stacktrace:
Suggestion: check for spelling errors or missing imports.
Hint: a global variable of this name may be made accessible by importing UUIDs in the current active module Main[1]
Stacktrace:stack_trace_request(debug_session::VSCodeDebugger.DebugAdapter.DebugSession, params::VSCodeDebugger.DebugAdapter.StackTraceArguments)
@[1] VSCodeDebugger.DebugAdapterstack_trace_request(debug_session::VSCodeDebugger.DebugAdapter.DebugSession, params::VSCodeDebugger.DebugAdapter.StackTraceArguments)
~/.vscode/extensions/julialang.language-julia-1.127.2/scripts/packages/DebugAdapter/src/ @debugger_requests.jl:400 VSCodeDebugger.DebugAdapter
~/.vscode/extensions/julialang.language-julia-1.127.2/scripts/packages/DebugAdapter/src/[2]debugger_requests.jl:400 (::VSCodeDebugger.DebugAdapter.var"#110#139"{VSCodeDebugger.DebugAdapter.DebugSession})(params::VSCodeDebugger.DebugAdapter.StackTraceArguments)
@[2] VSCodeDebugger.DebugAdapter(::VSCodeDebugger.DebugAdapter.var"#110#139"{VSCodeDebugger.DebugAdapter.DebugSession})(params::VSCodeDebugger.DebugAdapter.StackTraceArguments)
~/.vscode/extensions/julialang.language-julia-1.127.2/scripts/packages/DebugAdapter/src/ @packagedef.jl:73 VSCodeDebugger.DebugAdapter
~/.vscode/extensions/julialang.language-julia-1.127.2/scripts/packages/DebugAdapter/src/[3]packagedef.jl:73 dispatch_msg(x::VSCodeDebugger.DebugAdapter.DAPRPC.DAPEndpoint{Base.PipeEndpoint, Base.PipeEndpoint}, dispatcher::VSCodeDebugger.DebugAdapter.DAPRPC.MsgDispatcher, msg::Dict{String, Any})
@[3] VSCodeDebugger.DebugAdapter.DAPRPCdispatch_msg(x::VSCodeDebugger.DebugAdapter.DAPRPC.DAPEndpoint{Base.PipeEndpoint, Base.PipeEndpoint}, dispatcher::VSCodeDebugger.DebugAdapter.DAPRPC.MsgDispatcher, msg::Dict{String, Any})
~/.vscode/extensions/julialang.language-julia-1.127.2/scripts/packages/DebugAdapter/src/DAPRPC/ @typed.jl:89 VSCodeDebugger.DebugAdapter.DAPRPC
~/.vscode/extensions/julialang.language-julia-1.127.2/scripts/packages/DebugAdapter/src/DAPRPC/[4]typed.jl:89 (::VSCodeDebugger.DebugAdapter.var"#132#161"{Dict{String, Any}, VSCodeDebugger.var"#3#4"{String}, VSCodeDebugger.DebugAdapter.DAPRPC.MsgDispatcher, VSCodeDebugger.DebugAdapter.DAPRPC.DAPEndpoint{Base.PipeEndpoint, Base.PipeEndpoint}})()
@[4] VSCodeDebugger.DebugAdapter(::VSCodeDebugger.DebugAdapter.var"#132#161"{Dict{String, Any}, VSCodeDebugger.var"#3#4"{String}, VSCodeDebugger.DebugAdapter.DAPRPC.MsgDispatcher, VSCodeDebugger.DebugAdapter.DAPRPC.DAPEndpoint{Base.PipeEndpoint, Base.PipeEndpoint}})()
~/.vscode/extensions/julialang.language-julia-1.127.2/scripts/packages/DebugAdapter/src/ @packagedef.jl:98 VSCodeDebugger.DebugAdapter
~/.vscode/extensions/julialang.language-julia-1.127.2/scripts/packages/DebugAdapter/src/packagedef.jl:98
- The terminal process “/Library/Julia/Julia-1.11.app/Contents/Resources/julia/bin/julia ‘–color=yes’, ‘–startup-file=no’, ‘–history-file=no’, ‘/Users/stef/.vscode/extensions/julialang.language-julia-1.127.2/scripts/debugger/run_debugger.jl’, ‘/var/folders/0c/wnd8vcz91xb0gvcpgtb1w4180000gn/T/vsc-jl-dbg-33546d63-89cf-4244-8777-31e3816208b6’, ‘/var/folders/0c/wnd8vcz91xb0gvcpgtb1w4180000gn/T/vsc-jl-dbg-4795bb61-494e-4fcb-98ae-bf18304115a9’, ‘/var/folders/0c/wnd8vcz91xb0gvcpgtb1w4180000gn/T/vsc-jl-cr-bcf90bf8-42cc-40ca-976f-018aefcf8d83’” terminated with exit code: 1.