editor: mark target as running when continued

This commit is contained in:
Dmitry Sharshakov 2021-08-22 11:21:02 +03:00
parent d93cd2a261
commit be9dc5802a
No known key found for this signature in database
GPG key ID: 471FD32E15FD8473

View file

@ -324,6 +324,13 @@ impl Application {
self.editor
.set_status("Debugged application started".to_owned());
}
Event::Continued(_) => {
if let Some(debugger) = self.editor.debugger.as_mut() {
debugger.stopped_thread = None;
debugger.stack_pointer = None;
debugger.is_running = true;
}
}
ev => {
log::warn!("Unhandled event {:?}", ev);
return; // return early to skip render