Execution Control
-
break
[file:]function
-
Set breakpoint at function [in file].
-
backtrace
[n]
-
Print trace of all frames in stack, or of n frames.
-
print
expr
-
Print value of expression, expr.
-
continue
count
-
Continue program execution; ignore this breakpoint next count times if specified.
-
next
count
-
Execute next statement, stepping over function calls; repeat count times if specified.
-
nexti
count
-
Next machine instruction rather than source line; repeat count times if specified.
-
step
count
-
Execute next statement, stepping int function calls; repeat count times if specified.
-
stepi
count
-
Step by machine instruction rather than source line; repeat count times if specified.
-
until
location
-
Run until next instruction (or location).
-
finish
-
Run until stack frame returns.
-
return
[expr]
-
Pop selected stack frame without executing [setting return value to expr].
-
signal
num
-
Resume execution with signal num (none if 0).
-
jump
line
-
Resume execution at source line line.
-
jump
addr
-
Resume execution at address addr.
-
set var=
expr
-
Evaluate expr without displaying it; use for altering program variables.