home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!mips!swrinde!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!linus!progress!briggs
- From: briggs@progress.COM (Scott Briggs)
- Newsgroups: comp.os.ms-windows.programmer.misc
- Subject: Re: Is it really this bad, or is it just me
- Message-ID: <1992Jul30.173531.14978@progress.com>
- Date: 30 Jul 92 17:35:31 GMT
- References: <1992Jul28.090409.1@cortex> <1992Jul28.134522.11108@usenet.ins.cwru.edu> <1992Jul29.155112.7877@microsoft.com> <Bs7KA6.2DC@apollo.hp.com>
- Sender: usenet@progress.com (Mr. Usenet)
- Organization: Progress Software Corp.
- Lines: 51
- Nntp-Posting-Host: phanerozoic
-
- nelson_p@apollo.hp.com (Peter Nelson) writes:
-
- >In article <1992Jul29.155112.7877@microsoft.com> gregde@microsoft.com (Greg Demichillie) writes:
- >>In article <1992Jul28.134522.11108@usenet.ins.cwru.edu> turnbull@ces.cwru.edu (John Turnbull) writes:
- >>>In article <1992Jul28.090409.1@cortex> mboucher@cortex.prospect.com (Mike Boucher) writes:
- >>>>
-
- [stuff deleted]
-
- > OK, so what CAN you debug with a Windows debugger? For instance,
- > it is clear that I can't set a breakpoint in the message handler
- > for the scrolling messages. But my WM_VSCROLL handler eventually
- > makes calls which invalidate the rectangle, resulting in a WM_PAINT
- > message. WM_PAINT is ordinarily a low-priority message but it
- > can be given higher-priority or still happen quite quickly.
-
- > I've noticed if I'm debugging scrolling code that even if I
- > set my breakpoint in my WM_PAINT message handler I still some-
- > times get "extra" WM_PAINT messages for a single click on
- > the "up" or"down" buttons on the scrollbar -- although the
- > problem is not nearly as bad as with WM_VSCROLL.
-
- > I mean a GUI is a mouse-event driven environment, so it would
- > seem that this would make LOTS of things hard to debug! Is
- > this true?
-
- > Is there a systematic way for me to know when this is a problem?
- > As a beginner Windows programmer I expect to make lots of problems
- > for myself but I don't want to have to try to guess when it's
- > something *I'm* doing wrong and when it's someing *it* is doing
- > wrong.
-
- > I don't have this problem debugging graphics apps with the Apollo
- > debugger "dde" on Domain Workstations (Unix) here at work. Granted
- > this is a "real" OS, not a toy one, but still, it doesn't seem like
- > it should be that hard a problem for Microsoft or Borland to fix.
- >
-
- Your probably not going to like this suggestion but; get yourself
- a secondary monochrome monitor and video card (total cost <$100).
- and then use CVW /2. When you hit a break point your focus
- shifts to the secondary monitor so you don't get spurious (sp?)
- messages sent to your WNDProc. I use this setup on my machine
- at work and at home. It works great. If you don't know where to
- easily find the hardware, head north to L&W Computers next to
- the Pheasent Lane Mall in Nashua.
-
- Scott --
- Nashua, NH
-
- PS. e-mail me if you have any questions
-