aboutsummaryrefslogtreecommitdiff
path: root/helix-dap/examples/dap-dlv.rs
diff options
context:
space:
mode:
authorDmitry Sharshakov2021-09-04 16:36:36 +0000
committerDmitry Sharshakov2021-09-04 16:36:36 +0000
commitdf0ea6674ad1cbcbe8ceffded427d1d8c57951c8 (patch)
tree3c73de463b3e4bd68764fca43dec7f2dd44d2ab4 /helix-dap/examples/dap-dlv.rs
parent430c80ff2a09adf554e16052d9f478fdd49535b0 (diff)
examples: ensure target stopped by waiting for enter from user
Diffstat (limited to 'helix-dap/examples/dap-dlv.rs')
-rw-r--r--helix-dap/examples/dap-dlv.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/helix-dap/examples/dap-dlv.rs b/helix-dap/examples/dap-dlv.rs
index eecc4318..dacc7045 100644
--- a/helix-dap/examples/dap-dlv.rs
+++ b/helix-dap/examples/dap-dlv.rs
@@ -82,6 +82,11 @@ pub async fn main() -> Result<()> {
println!("configurationDone: {:?}", client.configuration_done().await);
+ let mut _in = String::new();
+ std::io::stdin()
+ .read_line(&mut _in)
+ .expect("Failed to read line");
+
let threads = client.threads().await?;
println!("threads: {:#?}", threads);
let bt = client