Location references for variable values don't work in SSH-remote sessions #225967
Labels
author-verification-requested
Issues potentially verifiable by issue author
bug
Issue identified by VS Code Team member as probable bug
debug
Debug viewlet, configurations, breakpoints, adapter issues
insiders-released
Patch has been released in VS Code Insiders
verified
Verification succeeded
Milestone
Does this issue occur when all extensions are disabled?: No
The recently introduced support for location references for variable values (#225546) seems to be only working for local debugging sessions. For remote debugging sessions using the Remote SSH extension, the links from the debug adapter are not resolved correctly.
This was previously reported in #225546 (comment). By now, I confirmed that this works as expected in a local, non-remote debugging session. Hence, my suspicion that this is a bug in VS-Code / the SSH extension.
Observed Behavior: Remote Debugging through SSH
In the screen recording, we can see:
value-location.mov
Towards the bottom of the screen, you can see the messages sent to/from
lldb-dap
. Note how it refers to the file as/home/avogelsgesang/Documents/corotest/test-ptr.cpp
. This is the exact same path which is also used by the debug adapter in responses to stackTrace commands, and for stack traces this path is correctly linked.In a couple of other requests, I am seeing VS-Code to refer to this path as
vscode-remote://ssh-remote%2Bavogelsges-wsl2/home/avogelsgesang/Documents/corotest/test-ptr.cpp
. I suspect that some path mapping for remote files is still missing here?Observed Behavior: Local debugging
Debugging locally, in a non-remote session, works as expected:
value-location2.mov
Steps to Reproduce
lldb-dap.executable-path
to point to the lldb-dap executableThe text was updated successfully, but these errors were encountered: