Path: chuka.playstation.co.uk!scea!greg_labrec@interactive.sony.com From: "Chris Blackwell" Newsgroups: scea.yaroze.programming.codewarrior Subject: Debugger problem Date: 15 Aug 1997 10:37:49 GMT Organization: SCEA News Server Lines: 26 Message-ID: <01bca967$e72f65a0$04af35c6@islandnet.com.islandnet.com> NNTP-Posting-Host: i3-4.islandnet.com X-Newsreader: Microsoft Internet News 4.70.1155 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.