Path: chuka.playstation.co.uk!scea!formica From: sumner@metrowerks.com (Joel Sumner) Newsgroups: scea.yaroze.programming.codewarrior Subject: Re: Debugger problem Date: Fri, 15 Aug 97 18:15:14 GMT Organization: Metrowerks Lines: 42 Message-ID: <5t2630$ib42@scea> References: <01bca967$e72f65a0$04af35c6@islandnet.com.islandnet.com> NNTP-Posting-Host: 198.214.227.194 X-Newsreader: News Xpress 2.0 Beta #0 Hi Chris, Please try the following: Go to your project and select "remove all binaries" (the little trashcan icon from the project toolbar). Do a rebuild and then run it in the debugger again. If you get the same results, please ZIP the project and send it to support@metrowerks.com. It could be that the line table information is getting a little screwy for some reason. -Joel In article <01bca967$e72f65a0$04af35c6@islandnet.com.islandnet.com>, "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. > -------- PlayStation Debugger Dude Metrowerks