The information in this article applies to:
SYMPTOMSThe Developer Studio integrated debugger may display incorrect values for the local variables in an application. This can occur when the application being debugged was compiled with optimizations on. RESOLUTIONDuring the debugging process for your application, specify the /Od compiler option switch to disable optimizations. MORE INFORMATION
The C/C++ compilers mentioned above make ample use of registers to store
local variables. This is particularly true when optimizations are turned
on. Therefore, information regarding local variable storage is not always
available to the debugger.
Sample Code
Additional query words: vwbdebug vcnt
Keywords : kbDebug kbide kbVC100 kbVC200 kbVC400 kbVC500 kbVC600 |
Last Reviewed: July 14, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |