debugger: Extend f5 binding to contextually rerun the last session (#31753)

Release Notes:

- Debugger Beta: if there is no stopped or running session, `f5` now
reruns the last session, or opens the new session modal if there is no
previously-run session.
This commit is contained in:
Cole Miller
2025-06-03 00:35:52 +00:00
committed by GitHub
parent b14401f817
commit b16911e756
5 changed files with 70 additions and 11 deletions
+4
View File
@@ -2194,4 +2194,8 @@ impl Session {
self.shutdown(cx).detach();
}
}
pub fn thread_state(&self, thread_id: ThreadId) -> Option<ThreadStatus> {
self.thread_states.thread_state(thread_id)
}
}