Compiler Option: -edebug
- Source: https://www.freebasic.net/wiki/wikka.php?wakka=CompilerOptedebug
- Last revised: 2021-10-11
Enable __FB_DEBUG__
Syntax
` -edebug
`
Description
The -edebug compiler option defines the intrinsic macro __FB_DEBUG__ to enable user debug code.
The intrinsic macro __FB_DEBUG__ is set to non-zero (-1) if the option was specified, and set to zero (0) otherwise.
-edebug is automatically implied by the -g option.
__FB_ERR__ can be used to determine in user source code if the -edebug option was specified or implied on the command line.
Version
- Since fbc 1.07.0
See also
__FB_DEBUG____FB_ERR__- Compiler Option: -eassert
- Compiler Option: -debuginfo
- Compiler Option: -g
- Debugging
- Using the Command Line
Back to DocToc