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-02 20:35:52 -04:00 committed by GitHub
parent b14401f817
commit b16911e756
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 70 additions and 11 deletions

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)
}
}