PRB: Screen Saver Applications Cannot Be Debugged ProperlyLast reviewed: July 25, 1997Article ID: Q123871 |
The information in this article applies to:
SYMPTOMSYou may run into problems when debugging screen saver type applications in the Visual C++ development environment. For example, when attempting to debug the SCRNSAVE application included with Visual C++ version 2.0, the program starts correctly, but then may fail to return control and the focus to the debugger.
CAUSEThis is expected behavior. Screen savers don't use the same desktop as normal applications. When a breakpoint in the screen saver is encountered, the operating system doesn't switch desktops. Thus, there may be no screen in which to display the Visual C++ user interface and the breakpoint is essentially ignored.
RESOLUTIONThere are two possible workarounds to this problem:
MORE INFORMATION
Steps to Reproduce BehaviorUsing the Visual C++ version 2.0 SCRNSAVE sample in the \MSVC20\SAMPLES\WIN32\SCRNSAVE directory on the distribution CD, do the following:
|
Additional query words: 9.00 Always Top HWND_TOP hung frozen not responding
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |