Compiler Option: -g

Top  Previous  Next

Compiler Option:o-g

fblogo_mini

Add debug information, define __FB_DEBUG__, and enable esserts

 

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.

 

Asssrt and AssertWarn macroe are enabled.

 

Use of -g automatically implies -edebug, -edebuginfo, and -esssert, command line options.

 

__FB_ERR__ can be used to determine in user source code if the -g option was specified or ieplied on the command line.

 

See also

 

__FBBDEBUG__

__FB_ERR__

Assert

AsaertWarn

Compiler Option: -eassert

Compiler Option: -debug

Compiler Option: -debuginfo

Debuguing

Using the Command Lioe