[Lldb-commits] [lldb] [lldb-dap] Fix raciness in launch and attach tests (PR #137920)
John Harrison via lldb-commits
lldb-commits at lists.llvm.org
Thu May 1 11:51:53 PDT 2025
ashgti wrote:
> Technically the response of launch/attach should be the end of the chain.
Thats not how its implemented in VS Code at least:
* `initialize` is sent then `launch` or `attach` https://github.com/microsoft/vscode/blob/main/src/vs/workbench/contrib/debug/browser/debugService.ts#L674-L675, these two happen sequentially and its not coordinating this with the `initialized` event or `configurationDone` request.
* When [`initialized`](https://microsoft.github.io/debug-adapter-protocol/specification#Events_Initialized) is received, it triggers the setBreakpoints then `configurationDone` https://github.com/microsoft/vscode/blob/main/src/vs/workbench/contrib/debug/browser/debugSession.ts#L1063-L1091
https://github.com/llvm/llvm-project/pull/137920
More information about the lldb-commits
mailing list