disableopts
Use to make the debugging of optimized code easier while having no effect on non-optimized code.
Syntax
#pragma disableopts on | off | reset
Targets
Intel x86
Remarks
To make debugging opimized code easier disableopts on:
- forces use of a stack frame so that the call stack is always available
- disables local stack variable overlapping
- disables automatic stack alignment, which may result in the odd use of EBX, EBP, and ESP
- disables allocation of long long to pairs of integer registers
- prevents the scheduler from moving code in front of the epilog or past the prolog, preventing local variables from appearing mangled when the program counter is within this range
This pragma does not correspond to any panel setting. To check this setting, use the __option (disableopts). The default setting is off.