| Syntax: | Default: |
| gen(lineOnlyDebug[, yes]) gen(lineOnlyDebug, no) |
gen(lineOnlyDebug, no) |
This option determines whether the C compiler generates line number information for limited debugging, rather than full debugging information.
By default, the C compiler generates no debug information.
To produce an executable, DLL or shared library with line number information, you also need to set the link(debug[, yes]) option for the target.
You can use this option when you want only to single-step through the source view of the files, and not to view variables. For full debugging, use gen(debug) to include symbol, type and other required information in the generated code.
Code
generated from C++ source is always fully enabled for debugging.
![]()
Incremental C++ Build
C Compilation
Configuration Files
Debugging with
VisualAge C++
![]()
Code Generation Options
![]()
Code Generation Options
