From 5f3e8063415291e91d856fe3ed1eea16b058d0e1 Mon Sep 17 00:00:00 2001 From: Dmitry Sharshakov Date: Thu, 12 Aug 2021 17:49:12 +0300 Subject: dap-basic: pretty-print results --- helix-dap/examples/dap-basic.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'helix-dap') diff --git a/helix-dap/examples/dap-basic.rs b/helix-dap/examples/dap-basic.rs index 7056f77a..434f2eeb 100644 --- a/helix-dap/examples/dap-basic.rs +++ b/helix-dap/examples/dap-basic.rs @@ -16,14 +16,14 @@ pub async fn main() -> Result<()> { let mut client = Client::start("nc", vec!["127.0.0.1", "7777"], 0)?; println!("init: {:?}", client.initialize().await); - println!("caps: {:?}", client.capabilities()); + println!("caps: {:#?}", client.capabilities()); println!( "launch: {:?}", client.launch("/tmp/godebug/main".to_owned()).await ); println!( - "breakpoints: {:?}", + "breakpoints: {:#?}", client .set_breakpoints( "/tmp/godebug/main.go".to_owned(), @@ -42,7 +42,7 @@ pub async fn main() -> Result<()> { println!("configurationDone: {:?}", client.configuration_done().await); println!("stopped: {:?}", client.wait_for_stopped().await); - println!("stack trace: {:?}", client.stack_trace(1).await); + println!("stack trace: {:#?}", client.stack_trace(1).await); let mut _in = String::new(); std::io::stdin() -- cgit v1.2.3-70-g09d2