[Lldb-commits] [lldb] [lldb-dap] Implement value locations for function pointers (PR #104589)
Adrian Vogelsgesang via lldb-commits
lldb-commits at lists.llvm.org
Fri Aug 16 15:05:52 PDT 2024
vogelsgesang wrote:
In the below screen recording, you can see:
* The function pointers are shown in the variables view as usual
* The corresponding values are linked, as indicated by the underline when hovering the value
* When Cmd+Clicking on the value, the link is followed
* Currently, this still leads to an error message. Afaict, this is due to a bug in VS-Code Insiders. I suspect that it does not correctly resolve the file path provided by the debug adapter. Probably this fails because I am using a remote, SSH-based editing session here.
* However, from the DAP logs (visible towards the bottom of the screen), we can see that the debug adapter returns the correct file name and also the correct line
https://github.com/user-attachments/assets/6d7ff263-16e9-4194-b732-a79952ebed89
https://github.com/llvm/llvm-project/pull/104589
More information about the lldb-commits
mailing list