How to use
Compile with the
-gflag.
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 # step1 min read
Compile with the
-gflag.
Run the debugger with the executable name as argument.
bt # backtrace -> visualize the stack frame
b xx # insert break point
r # run
c # continue
s # step