list

The list command prints source code lines of the program being executed.

Syntax

list [ function
     | [module:]line]

Usage

The list command prints source code lines of your program, by default it begins with the current line.

Example

(fgldb) run 
Breakpoint 1, at mymodule.4gl:5 
5    CALL addlist()
(fgldb) list 
5    CALL add_customer(cust_rec.*)
6    MESSAGE "Customer record was added"
...
14  END FUNCTION
(fgldb)