Compiler Option: -g

FreeBASIC

Compiler Option: -g
 
Add debug information

Syntax

-g

Description

The -g compiler option inserts debugging symbols into output files, to use with GDB-compatible debuggers.

The intrinsic macro __FB_DEBUG__ is set to non-zero (-1) if the option was specified, and set to zero (0) otherwise.

See also