next

Continues running the program by executing the next source line in the current stack frame, and then stops.

Syntax

n[ext]

Usage

The next command allows you to execute your program one line of source code at a time. The next command is similar to step, but function calls that appear within the line of code are executed without stopping. When the next line of code at the original stack level that was executing when you gave the next command is reached, execution stops.

After reaching a breakpoint, the next command can be used to examine a troublesome section of code more closely.

Example

(fgldb) next
5 call addlist()
(fgldb) next
6 call addname()
(fgldb)