Path: chuka.playstation.co.uk!scea!greg_labrec@interactive.sony.com From: jamin1@psu.edu (Jamin Frederick) Newsgroups: scea.yaroze.programming.codewarrior Subject: Re: Debugger problem Date: Fri, 15 Aug 1997 14:23:05 GMT Organization: SCEA News Server Lines: 38 Message-ID: <33f465f9.204445626@news.scea.sony.com> References: <01bca967$e72f65a0$04af35c6@islandnet.com.islandnet.com> NNTP-Posting-Host: rotary327-pri.voicenet.com X-Newsreader: Forte Free Agent 1.11/32.235 It seems like the CodeWarrior applications have trouble redrawing themselves sometimes. This might be your problem. Try minimizing and reopening the windows. Jamin On 15 Aug 1997 10:37:49 GMT, "Chris Blackwell" wrote: >I'm having difficulty with the CW debugger under Win95. When I load my >program, the grey "minus signs" which you click on to set a breakpoint are >in very strange places. It all goes wacky at my while loop. Here's the code >snippet to show where it goes wrong. I've added my own minus signs... > >- while(iPadData != (kPad1_Start | kPad1_Select)) >- { >- ::FntPrint("The pad data = %n", iPadData); > ::FntFlush(-1); > iPadData = thePad.Read(); > } >- >- // Reset the entire grapics system >- ::ResetGraph(3); > return(0); > >The most obviously wrong positions are the marks on the blank line and the >comment. I've tried to correspond what the marks actually belong to, and >assuming that the leading brace of the while should not have a brace, they >would line up if you moved the marks down two lines. Is this correct? And >what gives? Why is this happening? If any Metrowerks people are reading >this, I'd be happy to send you my code. > >Thanks, >Chris B. >