diff --git a/modules/debugger/debugger.py b/modules/debugger/debugger.py index aac5ad73..8efde45a 100644 --- a/modules/debugger/debugger.py +++ b/modules/debugger/debugger.py @@ -444,18 +444,22 @@ def _on_continued_event(self, event: dap.ContinuedEvent) -> None: event_thread = self._threadstateful_for_id(event.threadId) event_thread.on_continued() - if event_thread == self.selected_threadstateful: - self.selected_frame = None - self.selected_thread_explicitly = False + if event.allThreadsContinued: self.selected_frame = None self.selected_thread_explicitly = False + self.on_selected_frame(None, None) for thread in self.threads_stateful: if event_thread is not thread: thread.on_continued() + elif event_thread == self.selected_threadstateful: + self.selected_frame = None + self.selected_thread_explicitly = False + self.on_selected_frame(None, None) + self._refresh_state() def _on_stopped_event(self, event: dap.StoppedEvent) -> None: