nexti subcommand for dbx: Run the program up to the next machine instruction

Format

nexti [number]

Description

The nexti subcommand runs the application program up to the next instruction. The number argument specifies the number of times the nexti subcommand is to be run. If the number argument is not specified, nexti runs only once.

Usage notes

  1. The nexti 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 nexti subcommand. Then dbx unholds the threads after the nexti subcommand finishes.

Examples

  1. To continue execution up to the next machine instruction, enter:
    nexti
  2. To continue execution up to the third machine instruction following the current machine instruction, enter:
    nexti 3

Related information

The gotoi, next, and stepi subcommands.