When I arrive at a breakpoint in lldb, I want to be able to see the source code around the stopped point of execution. The l
command does not appear to have any option to do that:
help l
List relevant source code using one of several shorthand formats. Expects 'raw' input (see 'help raw-input'.)
Syntax:
_regexp-list <file>:<line> // List around specific file/line
_regexp-list <line> // List current file around specified line
_regexp-list <function-name> // List specified function
_regexp-list 0x<address> // List around specified address
_regexp-list -[<count>] // List previous <count> lines
_regexp-list // List subsequent lines
Doing l
just prints downward, not printing around where execution stopped. What's the easiest way to get the view that I'm looking for?