aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/application.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src/application.rs')
-rw-r--r--helix-term/src/application.rs9
1 files changed, 7 insertions, 2 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs
index 527d374f..d74f9198 100644
--- a/helix-term/src/application.rs
+++ b/helix-term/src/application.rs
@@ -323,8 +323,13 @@ impl Application {
self.editor.set_status(format!("{} {}", prefix, output));
}
Event::Initialized => {
- self.editor
- .set_status("Debugged application started".to_owned());
+ // send existing breakpoints
+ // TODO: fetch breakpoints (in case we're attaching)
+
+ if let Ok(_) = debugger.configuration_done().await {
+ self.editor
+ .set_status("Debugged application started".to_owned());
+ }; // TODO: do we need to handle error?
}
ev => {
log::warn!("Unhandled event {:?}", ev);