Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-view/src/handlers/dap.rs')
| -rw-r--r-- | helix-view/src/handlers/dap.rs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/helix-view/src/handlers/dap.rs b/helix-view/src/handlers/dap.rs index 9022ff63..209032c3 100644 --- a/helix-view/src/handlers/dap.rs +++ b/helix-view/src/handlers/dap.rs @@ -326,9 +326,14 @@ impl Editor { } // TODO: fetch breakpoints (in case we're attaching) - if debugger.configuration_done().await.is_ok() { + if let Err(err) = debugger.configuration_done().await { + self.set_error(format!( + "Debugger configuration failed: {}", + err + )); + } else { self.set_status("Debugged application started"); - }; // TODO: do we need to handle error? + } self.debug_adapters.set_active_client(id); } |