lldb ./fox -- arg1 arg2
(lldb) run
(lldb) bt
(lldb) f 5 <-- put the frame number here
(lldb) p var_name <-- print a variable
(lldb) exit
Compile with -g for source being visible in the debugger.
lldb ./fox -- arg1 arg2
(lldb) run
(lldb) bt
(lldb) f 5 <-- put the frame number here
(lldb) p var_name <-- print a variable
(lldb) exit
Compile with -g for source being visible in the debugger.