3 ms·
I use lldb from Xcode, but I don't use the GUI part, because it's worse than useless. The command line is better, but not by THAT much. It seems to regularly ge
by to3m 14y ago
I use lldb from Xcode, but I don't use the GUI part, because it's worse than useless. The command line is better, but not by THAT much. It seems to regularly get confused by debug info, so if it fails to tell you "no member info found due to forward declaration of struct XXX" (or something similar) when you're trying to print a local value of type XXX, you'll just get gibberish. Then sometimes it just dies when stepping over function calls.
Something I found today: "p/x $rip" will show you the PC, but "break set -a $rip" won't set a breakpoint there, because lldb can't figure out what $rip means.
The online help is also not very helpful.