llvm-capstone/lldb/tools
Walter Erquinigo 74ab1da028 Redo of Add terminateCommands to lldb-vscode protocol
Summary:
This redoes https://reviews.llvm.org/D79726 and fixes two things.
- The logic that determines whether to automatically disconnect during the tear down is not very dumb compared to the original implementation. Each test will determine whether to do that or not.
- The terminate commands and terminate event were being sent after the disconnect response was sent to the IDE. That was not good, as VSCode stops the debug session as soon as it receives a disconnect response. Now, the terminate event and terminateEvents are being executed before the disconnect response is sent. This ensures that any connection between the IDE and lldb-vscode is alive while the terminate commands are executed. Besides, it also allows displaying the output of the terminate commands on the debug console, as it's still alive.

Reviewers: clayborg, aadsm, kusmour, labath

Subscribers: lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D81978
2020-06-23 12:51:43 -07:00
..
argdumper
compact-unwind
darwin-debug Embed a zero-length /dev/null in darwin-debug for the special section. 2020-01-22 15:50:33 -08:00
darwin-threads
debugserver [debugserver] Initial support for Apple Silicon. 2020-06-23 10:47:16 -07:00
driver [lldb/Driver] Print snippet before exiting with unknown argument. 2020-05-20 12:35:02 -07:00
intel-features [intel-mpx] Delete an unnecessary license header 2020-04-03 17:27:37 -07:00
lldb-instr [lldb/Reproducers] Change the way we instrument void* arguments 2020-02-04 19:05:13 -08:00
lldb-perf/darwin/sketch
lldb-server [lldb] Change Communication::SetConnection to take a unique_ptr 2020-04-02 14:42:25 +02:00
lldb-test [lldb/Interpreter] Support color in CommandReturnObject 2020-06-09 10:45:45 -07:00
lldb-vscode Redo of Add terminateCommands to lldb-vscode protocol 2020-06-23 12:51:43 -07:00
CMakeLists.txt