mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-23 09:56:19 +04:00
editor: mark target as running when continued
This commit is contained in:
parent
d93cd2a261
commit
be9dc5802a
@ -324,6 +324,13 @@ pub async fn handle_debugger_message(&mut self, payload: helix_dap::Payload) {
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user