Hello,
When I want to set a breakpoint during remote debugging, VisualGDB takes the target folder from the file synchronization settings. The binary I am debugging, however, has been build through other means. The GDB raw log looks like this:
-break-insert -f /home/visualgdb/c/Source/hello-world/main.cpp:148
&"No source file named /home/visualgdb/c/Source/hello-world/main.cpp:148.\n"
I need to map the paths to:
/home/default/build/Source/hello-world/main.cpp:148
In the other direction, the path mapping from the VisualGDB settings works. If a breakpoint that has been set manually I get redirected to the correct source file.