[Lldb-commits] [PATCH] D77347: Have lldb-vscode update the currently selecte thread and frame when it receives a "scopes" request.
Greg Clayton via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Apr 2 19:00:10 PDT 2020
clayborg added a comment.
commit 5998aceda9fdca04db4d9ee390cec660896bf0bf <https://reviews.llvm.org/rG5998aceda9fdca04db4d9ee390cec660896bf0bf> (HEAD -> master, origin/master, origin/HEAD)
Author: Greg Clayton <gclayton at fb.com>
Date: Thu Apr 2 16:30:33 2020 -0700
Have lldb-vscode update the currently selecte thread and frame when it receives a "scopes" request.
Summary: The IDE has no packets that are sent to lldb-vscode that say which thread and frame are selected. The only way we know is we get a request for variables for a stack frame via a "scopes" request. When we receive this packet we make that thread and frame the selected thread and frame in lldb. This way when people execute lldb commands in the debug console by prefixing the expression with the backtick character, we will have the right thread and frame selected. Previously this was not updated as new stack frames were selected.
Reviewers: labath, aadsm, wallace, JDevlieghere
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D77347
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77347/new/
https://reviews.llvm.org/D77347
More information about the lldb-commits
mailing list