Previous: ErrCodes Unit To the Table of Content Next: Graph Unit

- 4.36 -
Standard Units

The FDebug Unit

Targets: MS-DOS, OS/2, Win32


This module writes the error code and the call stack to the debug.log file, which will be created automatically in case of a run-time error. The stack is printed as follows:
  RunError #201 (range check error)
  Calls stack:
  SYSTEM.BOUND_ERROR [chk_fun.inp(21) at 0000000A]
  TEST.ASSN [TEST.PAS(61) at 00000015]
  TEST.TEST [TEST.PAS(82) at 0000001D]
To use FDebug, simply list it in the uses clause of the main program. Using the FDebug unit increases the .EXE module size

A call of a procedure with a NIL address is currently diagnosed as an arithmetic overflow, or (under the PMODE extender) causes a GP Fault or other traps.


Previous: ErrCodes Unit To the Table of Content Next: Graph Unit
ErrCodes Unit Table of Content Graph Unit

- 4.36 -