on master help sign in
editor: mark target as running when continued
commitbe9dc5802a8e2d6d26d6f9c00475aedafef97c61 authorDmitry Sharshakov <d3dx12.xx@gmail.com> dateSun 22 Aug 2021, 11:21 (5 years ago) parentd93cd2a
1 file changed+7
helix-term/src/application.rs+7
helix-term/src/application.rs+7
@@ -324,6 +324,13 @@ impl Application {
324324 self.editor
325325 .set_status("Debugged application started".to_owned());
326326 }
327+ Event::Continued(_) => {
328+ if let Some(debugger) = self.editor.debugger.as_mut() {
329+ debugger.stopped_thread = None;
330+ debugger.stack_pointer = None;
331+ debugger.is_running = true;
332+ }
333+ }
327334 ev => {
328335 log::warn!("Unhandled event {:?}", ev);
329336 return; // return early to skip render