diff options
-rw-r--r-- | helix-dap/examples/dap-dlv.rs | 5 | ||||
-rw-r--r-- | helix-dap/examples/dap-lldb.rs | 5 |
2 files changed, 10 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 diff --git a/helix-dap/examples/dap-lldb.rs b/helix-dap/examples/dap-lldb.rs index 2022ef48..ae18b214 100644 --- a/helix-dap/examples/dap-lldb.rs +++ b/helix-dap/examples/dap-lldb.rs @@ -84,6 +84,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 |