Skip to content

0.26.0 regression with remote debug: GDB cannot find source files because of lower-casing file paths #346

@danocharron

Description

@danocharron

I noticed on your latest version 0.26.0 that the breakpoint paths and file names are now all lower case.
My source file names and paths have upper-case and lower-case characters.

I am remote debugging from Windows to Linux through ssh.

I was looking forward to your improvements, but for now I guess I will revert to your 0.25.1 version.

More:


If I set "stopAtEntry": true, in my launch.json
Your APP will set a breakpoint at the Src/main.cpp

GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"Temporary breakpoint 2, main (argc=1, argv=0x7fffffffebc8) at Src/main.cpp:4231\n"}]}
Temporary breakpoint 2, main (argc=1, argv=0x7fffffffebc8) at Src/main.cpp:4231


If I then put a breakpoint in the editor your APP will set the breakpoint like this:

GDB -> App: {"token":19,"outOfBandRecord":[],"resultRecords":{"resultClass":"done","results":[["bkpt",[["number","8"],["type","breakpoint"],["disp","keep"],["enabled","y"],["addr",""],["pending","/root/platform/src/main.cpp:4252"],["times","0"],["original-location","/root/platform/src/main.cpp:4252"]]]]}}

NOTE: the path name needs to have "Src" not "src"

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions