Stack Frame and Thread Format
LLDB has a facility to allow users to define the format of the information that generates the descriptions for threads and stack frames. Typically when your program stops at a breakpoint you will get two lines that describes why your thread stopped and where:
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
   frame #0: test`main at test.c:5
Stack backtraces frames also have a similar information line:
(lldb) thread backtrace
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
frame #0: 0x0000000100000e85 a.out`main + 4 at test.c:19
frame #1: 0x0000000100000e40 a.out`start + 52
The two format strings that govern the printing in these output forms can currently be set using the settings set command:
(lldb) settings set thread-stop-format STRING
(lldb) settings set frame-format STRING
The first of these is an abbreviated thread output, that just contains data about the thread, and not the stop frame. It will always get used in situations where the frame output follows immediately, so that information would be redundant. The second is the frame printing.
There is another thread format used for commands like thread list
where
the thread information isn't followed by frame info. In that case, it is convenient to have
frame zero information in the thread output. That format is set by:
(lldb) settings set thread-format STRING