Command-Line Debugging with FDB
FDB is a command-line symbolic source-level debugger for Fortran 95, C, and assembly programs. Use FDB if you feel more comfortable with a command-line debugger than with the WinFDB Windows debugger, or if you need access to debugging commands not available in WinFDB.
These topics are described in the following sections:
- Overview covers preparing code for debugging, starting FDB, and issuing FDB commands
- Communicating with FDB describes conventions used to refer to variables, functions, registers, etc.
- Executing and Terminating a Program covers how to start and stop a program being debugged, and how to set and examine command line arguments to the program being debugged
- Shell Commands shows commands for displaying and changing the working directory
- Breakpoints describes setting, examining and deleting breakpoints and conditional breakpoints
- Controlling execution describes various commands for continuing after a breakpoint, stepping through a program, and using counts
- Displaying stack information covers commands for displaying call stack and register information
- Setting and displaying program variables describes commands for setting and displaying values of variables, memory locations and registers
- Source code display covers displaying program source and assembly language code
- Automatic display describes display of information everytine program execution stops
- Symbols describes displaying information about variables and functions that match a regular expression
- Scripts describes executing multiple FDB commands using a script
- Signals shows the command for displaying the set response when an exception is encountered
- Parameters shows commands for setting and displaying various display parameters
- Fortran specific shows debugging commands specific to Fortran modules and internal procedures