Skip to content

Commit

Permalink
Add "result" as an argument to custom_dap_request_event method
Browse files Browse the repository at this point in the history
The generated result in ThreadClient is passed as "result". We usually use it when returning responses to VS Code in Session class
  • Loading branch information
ono-max authored and ko1 committed Mar 28, 2023
1 parent 42de5fd commit e706193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/debug/server_dap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ def process_protocol_result args
@ui.respond req, result
else
if respond_to? mid = "custom_dap_request_event_#{type}"
__send__ mid, req
__send__ mid, req, result
else
raise "unsupported: #{args.inspect}"
end
Expand Down

0 comments on commit e706193

Please sign in to comment.