mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 09:26:19 +04:00
examples: make examples identical
This commit is contained in:
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…
Reference in New Issue
Block a user