Closed SquallATF closed 3 years ago
when use lldb-mi with vscode , vscode show Unable to open 'test.cpp': Unable to read file '\test.cpp' (Error: Unable to resolve non-existing file '\test.cpp'). then I test gdb and lldb-mi difference gdb response
Unable to open 'test.cpp': Unable to read file '\test.cpp' (Error: Unable to resolve non-existing file '\test.cpp').
*stopped,reason="breakpoint-hit",disp="keep",bkptno="2",frame={addr="0x00007ff74b141486",func="main",args=[],file="D:\\/Work\\lldbtest\\test.cpp",fullname="D:\\Work\\lldbtest\\test.cpp",line="4",arch="i386:x86-64"},thread-id="1",stopped-threads="all"
lldb-mi response
*stopped,reason="breakpoint-hit",disp="del",bkptno="1",frame={level="0",addr="0x00007ff74b141486",func="main",args=[],file="test.cpp",fullname="/test.cpp",line="4"},thread-id="1",stopped-threads="all"
the fullname is not full.
fullname
I found the reason, the root path have a file named test.cpp
when use lldb-mi with vscode , vscode show
Unable to open 'test.cpp': Unable to read file '\test.cpp' (Error: Unable to resolve non-existing file '\test.cpp').
then I test gdb and lldb-mi difference gdb responselldb-mi response
the
fullname
is not full.