Skip to content

Commit

Permalink
DAP: allow custom request extension in ThreadClient class
Browse files Browse the repository at this point in the history
  • Loading branch information
ono-max committed Mar 21, 2023
1 parent 733dd4b commit 3ce2adc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/debug/server_dap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,11 @@ def process_dap args
}

else
raise "Unknown req: #{args.inspect}"
if respond_to? mid = "request_#{type}"
__send__ mid, req
else
raise "Unknown request: #{args.inspect}"
end
end
end

Expand Down

0 comments on commit 3ce2adc

Please sign in to comment.