emit_local_scopes

Instructs the compiler to emit the scopes of local variables into debugger information.

Syntax

#pragma emit_local_scopes on | off | reset

Targets
Intel x86
Remarks

This pragma enables debuggers to decide, among several variables using the same name, which one is actually used at the current program counter. This only effects debugging information generated for Codeview.

This pragma does not correspond to any panel setting. To check this setting, use the __option (emit_local_scopes). The default setting is on.