diff --git a/test/protocol/catch_test.rb b/test/protocol/catch_test.rb index 48ecf524b..b1749b59e 100644 --- a/test/protocol/catch_test.rb +++ b/test/protocol/catch_test.rb @@ -26,14 +26,14 @@ def test_set_exception_breakpoints_unsets_exception_breakpoints run_protocol_scenario PROGRAM, cdp: false do req_set_exception_breakpoints([{ name: "RuntimeError" }]) req_set_exception_breakpoints([]) - req_continue + req_terminate_debuggee end end def test_set_exception_breakpoints_accepts_condition run_protocol_scenario PROGRAM, cdp: false do req_set_exception_breakpoints([{ name: "RuntimeError", condition: "a == 2" }]) - req_continue + req_terminate_debuggee end run_protocol_scenario PROGRAM, cdp: false do diff --git a/test/protocol/eval_test.rb b/test/protocol/eval_test.rb index c8b03fec9..5f32358f2 100644 --- a/test/protocol/eval_test.rb +++ b/test/protocol/eval_test.rb @@ -77,7 +77,7 @@ def test_eval_with_threads req_add_breakpoint 9 req_continue assert_repl_result({value: 'false', type: 'FalseClass'}, 'm.lock.nil?', frame_idx: 0) - req_continue + req_terminate_debuggee end end end diff --git a/test/support/protocol_test_case.rb b/test/support/protocol_test_case.rb index 429640fb8..78e0b5bb0 100644 --- a/test/support/protocol_test_case.rb +++ b/test/support/protocol_test_case.rb @@ -111,6 +111,7 @@ def req_continue case get_target_ui when 'vscode' send_dap_request 'continue', threadId: 1 + find_response :event, 'stopped', 'V