stepi subcommand for dbx: Run one or more machine instructions

Format

stepi [number]

Description

The stepi subcommand runs instructions of the program. Specify the number of instructions to be run in the number argument. If the number argument is omitted, it defaults to 1.

Usage notes

  1. The stepi subcommand can be run only while the dbx debug program is running.
  2. If the $hold_next variable is defined, dbx holds all threads except the focus thread during a stepi subcommand. Then dbx unholds the threads after the stepi subcommand finishes.

Examples

  1. To continue execution for one machine instruction, enter:
    stepi
  2. To continue execution for five machine instructions, enter:
    stepi 5

Related information

The gotoi, nexti, and step subcommands.