julia-vscode icon indicating copy to clipboard operation
julia-vscode copied to clipboard

Pressing enter in empty debug console errors

Open baggepinnen opened this issue 1 year ago • 0 comments

If the cursor is located in the debug console and the prompt is empty, pressing enter throws the error below. This does not really cause any problems, the debugger still works, but it could perhaps be avoided.

Internal Error: MethodError: no method matching eval_code(::VSCodeServer.JuliaInterpreter.Frame, ::Nothing)
Closest candidates are:
  eval_code(::VSCodeServer.JuliaInterpreter.Frame, !Matched::AbstractString) at ~/.vscode/extensions/julialang.language-julia-1.7.12/scripts/packages/JuliaInterpreter/src/utils.jl:652
  eval_code(::VSCodeServer.JuliaInterpreter.Frame, !Matched::Expr) at ~/.vscode/extensions/julialang.language-julia-1.7.12/scripts/packages/JuliaInterpreter/src/utils.jl:653

baggepinnen avatar Sep 18 '22 07:09 baggepinnen