mark thread as running when resumed

This commit is contained in:
Dmitry Sharshakov 2021-09-04 10:22:29 +03:00
parent 9a1916ebfd
commit cb31d20b46

View file

@ -299,7 +299,9 @@ impl Application {
self.editor.set_status(status);
}
Event::Continued(events::Continued { thread_id, .. }) => {
debugger.thread_states.remove(&thread_id);
debugger
.thread_states
.insert(thread_id, "running".to_owned());
if debugger.thread_id == Some(thread_id) {
resume_application(debugger)
}