list List the source
break N Set breakpoint at line N
break FUNC Set breakpoint at the function FUNC
info break Show breakpoints information
run Run to the first breakpoint
next Single step(enter into function)
step Single step(don't enter into function)
continue Continue running
print VAR Print out the value of VAR
bt Show function stack
finish Jump out function
shell CMD Execute shell command
set args VALUE Set runtime arguments' value
show args Show runtime arguments' value
info program Check whether the program is running
clear N Clear the breakpoint at line N
disable N Disable the N-th breakpoint
enable N Enable the N-th breakpoint
watch STATEMENT Monitor a statement's value
call FUNC(ARGS) Call function
layout src Display source
layout asm Display ..
layout regs Display registers
quit Quit DGB
Ctrl-L Refresh