backtrace / where

The backtrace commands prints a summary of how your program reached the current state.

Syntax

backtrace

Usage

The backtrace command prints a summary of your program's entire stack, one line per frame.

Each line in the output shows the frame number and function name.

bt and where are aliases for the backtrace command.

Example

(fgldb) backtrace
#1 addcount() at mymodule.4gl:6
#2 main() at mymodule.4gl:2
(fgldb)