KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q44418: Switching Out of PM Application Hangs System under Codeview

Article: Q44418
Product(s): See article
Version(s): 2.20
Operating System(s): OS/2
Keyword(s): ENDUSER | | mspl13_basic
Last Modified: 16-MAY-1989

Question:

I am using CodeView to debug my Presentation Manager (PM) application.
Why does my machine sometimes hang when I use CTRL+ESC to switch to
the OS/2 program selector?

Response:

Presentation Manager applications require the use of the Presentation
Manager shell. To debug PM applications, CodeView must put hooks into
the Presentation Manager before the PM application is executed. This
process works properly while inside CodeView, but if you try to switch
back to the program selector, PM is in an unknown execution state.

Therefore, to switch out of CodeView while debugging a PM application,
you must first restart or end the program inside CodeView. This tells
CodeView to restore the Presentation Manager to its original
condition.

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.

Copyright Microsoft Corporation 1986-2002.