### sym

Controls the generation of debugger symbol information.

##### Syntax

#pragma sym on | off | reset | [no]scope

##### Targets

All platforms.

##### Remarks

The compiler pays attention to this pragma only if you enable the debug marker for a file in the IDE project window. If you disable this pragma, the compiler does not put debugging information into the source file debugger symbol file (SYM or DWARF) for the functions that follow. Enables the emit local scopes feature by default. Use -sym noscopes to disable.

The compiler always generates a debugger symbol file for a source file that has a debug diamond next to it in the project window. This pragma changes only which functions have information in that symbol file.

This pragma does not correspond to any panel setting. To check this setting, use __option (sym), described in Checking Settings. The default setting is on.