[all-commits] [llvm/llvm-project] 5998ac: Have lldb-vscode update the currently selecte thre...
Greg Clayton via All-commits
all-commits at lists.llvm.org
Thu Apr 2 18:35:28 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 5998aceda9fdca04db4d9ee390cec660896bf0bf
https://github.com/llvm/llvm-project/commit/5998aceda9fdca04db4d9ee390cec660896bf0bf
Author: Greg Clayton <gclayton at fb.com>
Date: 2020-04-02 (Thu, 02 Apr 2020)
Changed paths:
A lldb/test/API/tools/lldb-vscode/console/Makefile
A lldb/test/API/tools/lldb-vscode/console/TestVSCode_console.py
A lldb/test/API/tools/lldb-vscode/console/main.cpp
M lldb/tools/lldb-vscode/lldb-vscode.cpp
Log Message:
-----------
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
More information about the All-commits
mailing list