examples: make examples identical

pull/574/head
Dmitry Sharshakov 3 years ago committed by Blaž Hrastnik
parent f92fb966c0
commit 36fb8d1b1a

@ -79,8 +79,12 @@ pub async fn main() -> Result<()> {
from_value(stopped_event.recv().await.unwrap().body.unwrap()).unwrap();
println!("stopped: {:?}", stop);
println!("threads: {:#?}", client.threads().await);
let bt = client.stack_trace(1).await.expect("expected stack trace");
let threads = client.threads().await?;
println!("threads: {:#?}", threads);
let bt = client
.stack_trace(threads[0].id)
.await
.expect("expected stack trace");
println!("stack trace: {:#?}", bt);
let scopes = client
.scopes(bt.0[0].id)

Loading…
Cancel
Save