The information in this article applies to:
SYMPTOMSWhen using "Break when Expression has changed" breakpoints which include structure members in the expression, the breakpoints may fail and/or break many times in the exit and startup code following a program restart. In Codeview for Windows, a General Protection Fault may also occur, followed by a system hang. RESOLUTIONTo work around this problem, run the program to termination at the end of the first debugging session, clear the offending breakpoints, restart the program, and then reset the breakpoints. If you have Visual C++ and your program is a Windows-based application, you can use the Visual Workbench debugger instead. Note that for some MS-DOS programs you may also be able use the Visual Workbench debugger if the program can be rebuilt as a QuickWin application. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATIONThe sample program below can be used to demonstrate this problem. Build a debug version of the program, load it into Codeview, and enter these commands in the Codeview command window:
Note that the problem is not as severe for static structures.
(substitute bp = B.i in the steps above).
Sample Code
Additional query words:
Keywords : kb16bitonly |
Last Reviewed: October 27, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |