next

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

Syntax

next

Usage

The next command allows you to execute your program one line of source code at a time. The next command is similar tostep, 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.

n is an alias for the next command.

Example

(fgldb) next 
5 call add list()
(fgldb) next 
6 call add name()
(fgldb)