source

The source command executes a file of debugger commands.

Syntax

source cmdfile
  1. cmdfile is the name of the file containing the debugger commands.

Usage

The source command allows you to execute a command file of lines that are debugger commands.

The lines in the file are executed sequentially.

The commands are not printed as they are executed, and any messages are not displayed.

Commands are executed without asking for confirmation.

An error in any command terminates execution of the command file.

Example

Using the text file cmds, which contains the single line: break 10

(fgldb) source cmds 
Breakpoint 2 @ 0x00000000: file mymod.4gl, line 10.
(fgldb)