Next: , Previous: , Up: Resuming Execution   [Contents][Index]


4.4.2.2 Step (‘step’)

step

Stepping is like next but it is more fine-grained. However we still don’t stop at targets for which there is no rule. We once tried that and stepping is too tedious for C source files as one C file may depend on several included headers which are all extant files.

If there are multiple commands associated with a target step will stop before each one.

If you want to be sure to stop at a particular target, use the break command. See Breakpoints. Also see Next and Finish for other kinds of stepping.

step [count]

Continue running as in step, but do so count times. If a breakpoint is reached, or a signal not related to stepping occurs before count steps, stepping stops right away.