Skip to content

Commit 211b319

Browse files
st0012ko1
authored andcommitted
Enqueue DAP's evaluate command right away
1 parent 7fed621 commit 211b319

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/debug/server_dap.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,10 +442,11 @@ def process
442442
expr = req.dig('arguments', 'expression')
443443
if /\A\s*,(.+)\z/ =~ expr
444444
dbg_expr = $1
445+
dbg_expr.split(';;') { |cmd| @q_msg << cmd }
446+
445447
send_response req,
446448
result: "",
447449
variablesReference: 0
448-
debugger do: dbg_expr
449450
else
450451
@q_msg << req
451452
end

0 commit comments

Comments
 (0)