mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-23 18:06:18 +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
|
self.editor
|
||||||
.set_status("Debugged application started".to_owned());
|
.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 => {
|
ev => {
|
||||||
log::warn!("Unhandled event {:?}", ev);
|
log::warn!("Unhandled event {:?}", ev);
|
||||||
return; // return early to skip render
|
return; // return early to skip render
|
||||||
|
Loading…
Reference in New Issue
Block a user