From 31ec7ef2ec75b51cb72265ec701ab9b3f5dad8c6 Mon Sep 17 00:00:00 2001 From: xdBronch <51252236+xdBronch@users.noreply.github.com> Date: Fri, 4 Jul 2025 18:26:20 -0400 Subject: [PATCH] Debugger: check for `supports_single_thread_execution_requests` in continue (#33937) i found this to break my ability to continue with an lldb fork i use Release Notes: - N/A --- crates/project/src/debugger/session.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/project/src/debugger/session.rs b/crates/project/src/debugger/session.rs index f04aadf2df..bd52c0f6fa 100644 --- a/crates/project/src/debugger/session.rs +++ b/crates/project/src/debugger/session.rs @@ -1935,12 +1935,14 @@ impl Session { } pub fn continue_thread(&mut self, thread_id: ThreadId, cx: &mut Context) { + let supports_single_thread_execution_requests = + self.capabilities.supports_single_thread_execution_requests; self.thread_states.continue_thread(thread_id); self.request( ContinueCommand { args: ContinueArguments { thread_id: thread_id.0, - single_thread: Some(true), + single_thread: supports_single_thread_execution_requests, }, }, Self::on_step_response::(thread_id),