You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[lldb-dap] bug-fix: lldb-dap remembered old sessionId when reused
Summary:
Context:
lldb-dap remembers the vscode session id in its lifecycle,
the new session id when reuse lldb-dap didn't get updated in lldb-dap.
This diff is aiming to fix such issue on the lldb-dap side.
Approach:
fetching `__sessionId` key from attach & launch request, and update the env value by inserting new initCommands.
Test Plan:
Added new test case to test the env value update in lldb-dap
to run the test case:
~/local/llvm-sand/build/Debug/fbcode-x86_64/toolchain/bin/lldb-dotest -p <PATH_TO_TEST>/TestDAP_launch.py
^ replace path to the local build lldb-dotest.
^ [lldb-dotest](https://www.internalfb.com/wiki/SaND/Developing_LLDB)
Attach Test cases results: P1754726175
Launch Test Cases results: P1754738053
reuseDap Test Cases results: P1754757203
Reviewers: jeffreytan, royshi, gclayton, #lldb_team
Reviewed By: jeffreytan, royshi
Subscribers: royshi
Differential Revision: https://phabricator.intern.facebook.com/D70663297
Tasks: T215634007
0 commit comments