llvm-project/lldb/tools
Ted Woodward 17589538aa [lldb-vscode] Fix focus thread when previous thread exits
The thread that Visual Studio Code displays on a stop is called the focus thread. When the previous focus thread exits and we stop in a new thread, lldb-vscode does not tell vscode to set the new thread as the focus thread, so it selects the first thread in the thread list.

This patch changes lldb-vscode to tell vscode that the new thread is the focus thread. It also includes a test that verifies the DAP stop message for this case contains the correct values.

Reviewed By: clayborg, wallace

Differential Revision: https://reviews.llvm.org/D109633
2021-09-15 18:09:32 -05:00
..
argdumper [lldb] Remove a few unused .exports files 2021-08-05 22:17:00 +02:00
compact-unwind Don't re-define constants that are now in compact_unwind_encoding.h. 2021-09-09 17:01:43 -07:00
darwin-debug [lldb][NFC] Use C++ versions of the deprecated C standard library headers 2021-05-26 12:46:12 +02:00
darwin-threads
debugserver Fix two bugs with stack corefiles patch, restrict test built debugserver 2021-08-11 17:19:31 -07:00
driver [lldb] Get rid of HAVE_SYS_TYPES_H 2021-08-03 22:14:56 +02:00
intel-features [LLDB] Silence warnings in cli-wrapper-mpxtable.cpp 2021-06-28 02:36:14 +00:00
lldb-instr Adapt lldb-instr to d47ee525f9 APi change 2021-01-29 10:58:40 +01:00
lldb-server Revert "[lldb server] Tidy up LLDB server return codes and associated tests" 2021-09-02 15:27:39 +02:00
lldb-test [lldb] Stop referencing "host_lib" in cmake files 2021-08-05 22:18:37 +02:00
lldb-vscode [lldb-vscode] Fix focus thread when previous thread exits 2021-09-15 18:09:32 -05:00
CMakeLists.txt [CMake] Copy over the system debugserver when using LLDB_USE_SYSTEM_DEBUGSERVER 2019-09-24 22:39:04 +00:00