lldb debugging

 
Written By Sanjir Habib On Dec-19th, 2017
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.