PRB: No or Partial Output Debugging QuickWin Application

Last reviewed: July 17, 1997
Article ID: Q99183
1.00 1.50 1.51 1.52 WINDOWS kbtool kbprb

The information in this article applies to:

  • The Visual Workbench Integrated Debugger included with:

        - Microsoft Visual C++ for Windows, versions 1.0, 1.5, 1.51, and 1.52
    

SYMPTOMS

When debugging a QuickWin application, the application produces either no output or only partial output.

CAUSE

This error is caused by inherent problems with GUI-hosted debugging. During the debugging process, if the debugger window covers the application's output window, particularly when a breakpoint is hit or when single- stepping, the application may not redraw its output when it is activated.

RESOLUTION

When debugging output from the application, make sure that the debugger and application windows do not overlap. This can be best accomplished by tiling the windows (activate the Task Manager and choose Tile).

MORE INFORMATION

During the process of debugging a QuickWin application, you may lose output if the following conditions occur:

  • The application window is partially or completely covered by the debugger window.
  • The application reaches a breakpoint in the debugger and the user attempts to view the output of the application by bringing the application window to the front.

When the application reaches a breakpoint, it does not receive any messages. Because each application in the Microsoft Windows environment receives WM_PAINT messages (including QuickWin applications for which support is built-in), this problem also manifests itself in other applications while debugging the WM_PAINT message processing itself.


Additional reference words: 1.00 1.50 paint
KBCategory: kbtool kbprb
KBSubcategory: WBDebug
Keywords : kb16bitonly


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.

Last reviewed: July 17, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.