Microsoft KB Archive/200578

= BUG: Cannot Step Over Function That Contains Data Breakpoint =

Article ID: 200578

Article Last Modified on 12/2/2003

-

APPLIES TO


 * Microsoft Visual C++ 5.0 Enterprise Edition, when used with:
 * the hardware: DEC Alpha
 * Microsoft Visual C++ 6.0 Enterprise Edition, when used with:
 * the hardware: DEC Alpha
 * Microsoft Visual C++ 5.0 Professional Edition, when used with:
 * the hardware: DEC Alpha
 * Microsoft Visual C++ 6.0 Professional Edition, when used with:
 * the hardware: DEC Alpha
 * Microsoft Visual C++ 6.0 Standard Edition, when used with:
 * the hardware: DEC Alpha

-



This article was previously published under Q200578



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 that this is 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: kbbug kbpending KB200578

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.