Debugging Timer Functions Requires Hard-Mode DebuggingLast reviewed: July 22, 1997Article ID: Q131897 |
1.00 1.50 1.51 1.52
WINDOWS
kbtool kbtshoot
The information in this article applies to:
SUMMARYWhen setting a breakpoint in a Windows timer function (TimerProc), you might receive this error message:
Cannot process breakpoint while debugger already stoppedTo resolve this, you need to place the debugger into hard mode. On the Options menu, click Debug, and then choose Hard as the debugging mode.
MORE INFORMATIONBy placing the debugger into hard mode, you ensure that the application cannot start or switch to any other applications. This makes the application "task exclusive," and all keyboard and mouse messages are sent only to the debugger and its target application. There are times when the debugger may destabilize Windows by interacting with it. This can happen when the debugger stops while the system is in a critical (non-interruptable) processing stage (stopping at a breakpoint, stepping through code, encountering an exception, and so on). This can occur while debugging things like menu events, system modal windows, or intertask messages. Hard-mode debugging is especially useful when debugging time-critical events such as timer events and intertask DDE transactions. NOTE: Hard-mode debugging is not available when you are using the 16-bit debugging environment under Windows NT.
|
Additional reference words: kbinf 1.00 1.50
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |