list
The list
command prints source code lines of the program being
executed.
Syntax
list [
location ]
where location
is:
{
[
module.]
function
|
[
module:]
line
}
- module is the name of a specific source file, without extension.
- function is a function name.
- line is a source code 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)