How to use

Compile with the

-g

flag.

Run the debugger with the executable name as argument.

Commands

bt # backtrace -> visualize the stack frame
b xx # insert break point
r # run
c # continue
s # step