The information in this article applies to:
SYMPTOMSIn CodeView, an attempt to set a breakpoint on a specified line fails. CAUSEThe compiler command line did not specify both the /Od and /Zi option switches. Some compiler optimizations concatenate code in the executable file unless the command line specifies /Od to disable all optimizations. RESOLUTIONRecompile the code with the correct options specified. MORE INFORMATIONThe code example below demonstrates this problem. When the code is compiled with only the /Zi switch, you cannot set a breakpoint on the indicated line. Sample Code
Additional query words: 3.00 3.50 4.00 4.10
Keywords : |
Last Reviewed: October 7, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |