cd folder
gdb --args appname [your-args-here]
- set breakpoints with
b
function orb file:line
orb class:function
- display stack with
bt
- change stack frame with
f N
- display threads with
t
number - change thread with
t N
- print symbol
X
withp X
- type
s
to step in execution - type
n
to step out execution - type
c
to continue execution - type
r
to run or restart execution - type
q
to quit debugger