https://llvm.org/bugs/show_bug.cgi?id=28709
Bug ID: 28709 Summary: lldb-mi: break-insert not working when using absolute paths Product: lldb Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: P Component: All Bugs Assignee: lldb-dev@lists.llvm.org Reporter: malape...@gmail.com CC: llvm-b...@lists.llvm.org Classification: Unclassified Using lldb-mi from HEAD Mac OS X and Linux When specifying breakpoints with -break-insert, if an absolute path is used, lldb does not stop at the breakpoint. It seems that the breakpoint was not really inserted even if the response ^done was issued. Here is an example code with steps. ----main.cpp---- #include <iostream> int main() { std::cout << "hello world!" << std::endl; } 1. Compile this program with debugging symbols (clang++ -g main.cpp) 2. Start lldb-mi (lldb-mi ./a.out) 3. Add a breakpoint on line 4 with -break-insert /absolute/path/to/main.cpp:4 4. Run program (r) The program exits normally (*stopped,reason="exited-normally") If you try again with -break-insert main.cpp:4 Then it works correctly and it stops at the breakpoint (*stopped,reason="breakpoint-hit") -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ lldb-dev mailing list lldb-dev@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev