mark thread as running when resumed
This commit is contained in:
parent
9a1916ebfd
commit
cb31d20b46
1 changed files with 3 additions and 1 deletions
|
@ -299,7 +299,9 @@ impl Application {
|
||||||
self.editor.set_status(status);
|
self.editor.set_status(status);
|
||||||
}
|
}
|
||||||
Event::Continued(events::Continued { thread_id, .. }) => {
|
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) {
|
if debugger.thread_id == Some(thread_id) {
|
||||||
resume_application(debugger)
|
resume_application(debugger)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue