Adds support for a reverse DAP request to startDebugging. The new request can be used to launch child processes from lldb scripts, for example it would be start forward to configure a debug configuration for a server and a client allowing you to launch both processes with a single debug configuraiton.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Enhancing the test coverage and fixing an issue when a reverse request is invoked a request from a DAP request handler.
Comment Actions
Hi @wallace I updated the tests and discovered a deadlock with my implementation of the SendReverseRequest. I refactored the function and added some additional tests to cover this more thoroughly.
lldb/tools/lldb-vscode/VSCode.cpp | ||
---|---|---|
569 | Dead code? |
lldb/tools/lldb-vscode/VSCode.h | ||
---|---|---|
250–254 | nit: Could you update this comment that is no longer accurate |
nit: Could you update this comment that is no longer accurate