aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/application.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-09-03 02:48:55 +0000
committerBlaž Hrastnik2021-09-03 02:48:55 +0000
commit289303a30d8518890ae708b7fdd4996830df8642 (patch)
tree5df9fb531226f0ef44ea3b95e95aa07b2b43a3b4 /helix-term/src/application.rs
parent42f9718f55b58283253b2be85818a0aa0d5e3596 (diff)
dap: small TODO
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);