Article View: comp.os.os2.programmer
Article #751Re: Problem with WM_ACTIVATE.
From: David Bolen
Date: Fri, 04 Sep 1992 21:29
Date: Fri, 04 Sep 1992 21:29
28 lines
2088 bytes
2088 bytes
In article <1992Sep4.233121.24295@njitgw.njit.edu> dic5340@hertz.njit.edu (David Charlap) writes: >OK. I normally debug code by single-stepping it through functions. >This clobbers a PM program if you do it on the same machine, since >single-stepping is the same as placing a breakpoint at every line. You can still do it on a single machine with a PM program as long as you don't switch back to the PM screen while single stepping through your program's message procedure while it is processing a user input (mouse or keyboard) event. I did this all the time - including single stepping through my code. Normally, to help improve performance I turned off screen swapping anyway, so while I was single stepping through I was just in the debugger's text session, but there's no problem in general. The only hard requirements were/are that the debugger itself couldn't be PM (until IPMD), and that you couldn't switch manually to PM (Ctrl-ESC) while stopped in the middle of a message procedure for a user input message. -- -- David -- /-----------------------------------------------------------------------\ \ David Bolen \ Internet: db3l@ans.net / | Advanced Network & Services, Inc. \ Phone: (914) 789-5327 | / 100 Clearbrook Road, Elmsford, NY 10523 \ Fax: (914) 789-5310 \ \-----------------------------------------------------------------------/
Technical Details
Message-ID:
<1992Sep05.012846.18450@ans.net>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!wupost!usc!sol.ctr.columbia.edu!caen!malgudi.oar.net!news.ans.net!ans.net!db3lReferences:
<1992Sep1.225846.23143@njitgw.njit.edu> <d#lnmz+.daveb@netcom.com> <1992Sep03.150929.24455@ans.net> <1992Sep4.233121.24295@njitgw.njit.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!wupost!usc!sol.ctr.columbia.edu!caen!malgudi.oar.net!news.ans.net!ans.net!db3l From: db3l@ans.net (David Bolen) Subject: Re: Problem with WM_ACTIVATE. Sender: news@ans.net (News Administrator) Message-ID: <1992Sep05.012846.18450@ans.net> In-Reply-To: dic5340@hertz.njit.edu's message of 4 Sep 92 23: 31:21 GMT Date: Fri, 4 Sep 1992 21:29:01 GMT References: <1992Sep1.225846.23143@njitgw.njit.edu> <d#lnmz+.daveb@netcom.com> <1992Sep03.150929.24455@ans.net> <1992Sep4.233121.24295@njitgw.njit.edu> Organization: Advanced Network & Services, Inc. - Elmsford, NY Lines: 28