code-debug
code-debug copied to clipboard
Not working with debug information from other machine
Hi,
When part of the debug information is coming from another machine, the debugging session relies on the full path of the file and cannot find the correct sources in the current project. This can often happen when doing a distributed compilation or reusing debugging information already provided.
any suggestion how to fix this? I would assume it doesn't work with plain GDB/LLDB in the console either.
Indeed it does not work, one possibility would be to match the filename provided by gdb with files available in the loaded directory and choose the most relevant by choosing the longest common path ?