Lahey/Fujitsu Fortran

Overview of FDB

Compiling Code for Debug

Before debugging your program you must compile it using the -g option (see Compiler and Linker Options). The -g option creates an additional file with debugging information -- this file has the same name as the executable with the extension .ydg. Debugging cannot be performed without the presence of the .ydg file in the same directory as the executable file. FDB cannot be used on LF90 executables.

Starting FDB

To start FDB type:

FDB exefile

Where exefile is the name of an executable file compiled with the -g option.

FDB Commands

Commands can be abbreviated by entering only the underlined letter or letters in the command descriptions. For example, kill can be abbreviated simply k and oncebreak can be abbreviated ob. All commands should be typed in lower case, unless otherwise noted.