DOCUMENT:Q200578 11-MAR-2002 [visualc] TITLE :BUG: Cannot Step Over Function That Contains Data Breakpoint PRODUCT :Microsoft C Compiler PROD/VER::5.0,6.0 OPER/SYS: KEYWORDS:kbVC500bug kbVC600bug kbDSupportkbbuglist ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Visual C++, 32-bit Enterprise Edition, versions 5.0, 6.0, on platform(s): - the hardware: DEC Alpha - Microsoft Visual C++, 32-bit Professional Edition, versions 5.0, 6.0, on platform(s): - the hardware: DEC Alpha - Microsoft Visual C++, 32-bit Learning Edition, version 6.0, on platform(s): - the hardware: DEC Alpha ------------------------------------------------------------------------------- SYMPTOMS ======== If you attempt to step over a function that contains a data breakpoint anywhere in its execution path and the data expression does not evaluate to true, the Developer Studio debugger may step into the function or appear to hang. CAUSE ===== The RISC implementation of the breakpoint handler fails to differentiate between normal breakpoints and data breakpoints, and handles the data breakpoints incorrectly. RESOLUTION ========== Disable or remove all data breakpoints when stepping through code. STATUS ====== Microsoft has confirmed this to be a problem in the Microsoft products that are listed at the beginning of this article. MORE INFORMATION ================ Data breakpoints are discouraged on Windows NT RISC platforms because most of these architectures don't support debug breakpoint registers, resulting in extremely poor performance. Additional query words: WBDebug VCAlpha ====================================================================== Keywords : kbVC500bug kbVC600bug kbDSupport kbbuglist Technology : kbVCsearch kbAudDeveloper kbVC32bitSearch Version : :5.0,6.0 Issue type : kbbug Solution Type : kbpending ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 2002.