The information in this article applies to:
SYMPTOMSIf the sample code in the "MORE INFORMATION" section, below, is compiled for debugging (/Zi), the debugger (either CodeView or the Visual Workbench) does not stop at a breakpoint that is placed on the ELSE IF statement. CAUSEThe compiler does not generate the correct symbolic information for the line of code containing the ELSE IF statement. RESOLUTIONTo work around the problem, place the "else" and "if" statements on separate lines. For example:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATIONTo reproduce this problem with the sample code below:
In CodeView, if you switch into mixed source/assembly mode, you can verify that there is executable code associated with the ELSE IF statement. If a breakpoint is placed on one of the lines of assembly code for the ELSE IF statement and the application is debugged, the code stops running at the breakpoint. With the Visual Workbench debugger, step through the code at the ELSE IF statement to set the breakpoint. Sample Code
Additional query words: kbVC400bug 6.00 8.00 8.00c 9.00 10.00 10.10 10.20
Keywords : kbtool kbCompiler kbVC100bug kbVC200bug kbVC210bug kbVC400bug kbVC410bug kbVC420 kbVC500bug kbVC600bug |
Last Reviewed: April 16, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |