force update of stack trace when stopped

This commit is contained in:
Dmitry Sharshakov 2021-09-02 22:51:41 +03:00
parent 2c89107349
commit 9c64650a26
No known key found for this signature in database
GPG key ID: 471FD32E15FD8473

View file

@ -287,10 +287,10 @@ pub async fn handle_debugger_message(&mut self, payload: helix_dap::Payload) {
main.map(|t| t.id)
});
if let Some(id) = main {
select_thread_id(&mut self.editor, id, false).await;
select_thread_id(&mut self.editor, id, true).await;
}
} else {
select_thread_id(&mut self.editor, thread_id.unwrap(), false).await;
select_thread_id(&mut self.editor, thread_id.unwrap(), true).await;
}
let scope = match thread_id {