The information in this article applies to:
SYMPTOMSThe debugger is unable to set the breakpoint and no warning or error messages are given when you set the following breakpoint:
Here SimpleClass is a class and MyLabel is a label inside the constructor.
Using the full context below does not work either:
CAUSEThere are two constructors SimpleClass::SimpleClass and the label happens to be in the second of the two constructors as shown in the sample code listed in the More Information section below. The expression evaluator searches only the first of the contexts specified by the context operator for the label. RESOLUTIONReverse the order of the definitions of the constructors to set the breakpoint correctly. STATUSMicrosoft has confirmed this to be a bug in the products listed at the beginning of this article. This problem was not reproducible in Microsoft Visual C++, 32-bit Edition, version 4.0. MORE INFORMATIONThe following sample code demonstrates the problem. The debugger does not set a breakpoint on {SimpleClass::SimpleClass}MyLabel. Sample Code
Additional query words: 1.00 2.00 buglist1.00 buglist2.00
Keywords : |
Last Reviewed: January 20, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |