Skip to content

Commit

Permalink
Merge pull request #100 from julia-vscode/make-eval-more-robust
Browse files Browse the repository at this point in the history
Handle incorrect evaluate request gracefully
  • Loading branch information
davidanthoff authored Jan 10, 2025
2 parents 69759ef + 0ae2218 commit c4c0ca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/debugger_requests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ function evaluate_request(debug_session::DebugSession, params::EvaluateArguments
@debug "evaluate_request"

if ismissing(params.frameId)
@info "evaluate_request called with missing frameId" params
return EvaluateResponseArguments("Error: received evaluate request without a frameId, this shouldn't happen for the Julia debugger.", missing, missing, 0, missing, missing, missing)
end

curr_fr = debug_session.debug_engine.frame
Expand Down

0 comments on commit c4c0ca3

Please sign in to comment.