https://llvm.org/bugs/show_bug.cgi?id=28826
Bug ID: 28826 Summary: "frame variable", "source list", etc. fail to produce the expected output Product: lldb Version: 3.9 Hardware: All OS: Linux Status: NEW Severity: normal Priority: P Component: All Bugs Assignee: lldb-dev@lists.llvm.org Reporter: fakju...@o2.pl CC: llvm-b...@lists.llvm.org Classification: Unclassified I'm trying to switch from gdb to lldb, but I can't get the latter to work. I can attach to a process, stop it, see the backtrace, but I can't do anything else with it. Source code can't be displayed, variables aren't displayed and can't be accessed: (lldb) b blink::Document::setDesignMode Breakpoint 1: where = chrome`blink::Document::setDesignMode(WTF::String const&) + 27, address = 0x000055cf108aaf8b (lldb) c Process 15124 resuming Process 15124 stopped * thread #1: tid = 15124, 0x000055cf108aaf8b chrome`blink::Document::setDesignMode(WTF::String const&) + 27 at Document.cpp:4634, name = 'chrome', stop reason = breakpoint 1.1 frame #0: 0x000055cf108aaf8b chrome`blink::Document::setDesignMode(WTF::String const&) + 27 at Document.cpp:4634 (lldb) expr this error: invalid use of 'this' outside of a non-static member function (lldb) frame variable (lldb) f frame #0: 0x000055cf108aaf8b chrome`blink::Document::setDesignMode(WTF::String const&) + 27 at Document.cpp:4634 (lldb) source info Lines found in module `chrome [0x000055cf108aaf8b-0x000055cf108aaf91): ./out/Default/../../third_party/WebKit/Source/core/dom/Document.cpp:4634:21 (lldb) source list (lldb) And once I detach from the process, I can't even reattach to anything else until lldb is restarted: (lldb) c Process 15124 resuming (lldb) detach Process 15124 detached (lldb) attach -p 15124 error: no error returned from Target::Attach, and target has no process (lldb) attach -p 15005 error: no error returned from Target::Attach, and target has no process Everything works in gdb. There's something fundamentally wrong with this stuff since the very basic functionality seems to be broken. Am I missing something required for lldb to work properly? I'd be happy to provide more information if needed. Versions: Latest lldb compiled from trunk, latest Chrome compiled from trunk (tried launching with --allow-sandbox-debugging, --no-sandbox, and both). OS: Ubuntu 16.04.1 -- 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