Are you using the Flex Builder plugin for Eclipse or the Flex Builder stand alone IDE? I've tried both and run in to fewer problems with the stand alone IDE. I've run in to this issue and other similar ones but usually closing and reopening Flex Builder and doing a Clean on the project will take care of it.
I also don't debug from the embedded browser; for the environment I'm running in I have to publish the swf to the server and debug from there. I don't know if that makes a difference. You might try deploying your swf on the web server instead of letting Flex Builder / Eclipse launch it. It _shouldn't_ act any differently but I've run in to enough quirks with Flex Builder and debugging that I've found slight changes fix it. Best of luck! -Marty Blood On Wed, Apr 7, 2010 at 4:19 PM, Dale Bronk <[email protected]> wrote: > I'm pulling my hair out on this one. > > I have auto build turned on. > > I try and set a breakpoint on say line 128 which is a valid line of code, > but the break point shows up on line 133 which isn't a valid line of code. > This has happened to me many, many, many times in the past (only on flex > project though) and normally I just have to shut down any running servers, > manually delete the files in the bin-debug, and do a clean build. Then > bring up the server and everything is fine. But this time no matter what I > try it will not work. The source is clearly out of sync with the compiled > code. > > Along with that, I can add code, say a trace statement, to the class. > Compile and debug and that line of code is never hit. This again points me > to there is an out of sync between source and what is running. > > I shut down eclipse and reopened it. Now my breakpoint will stay on line > 128 but when I debug the app and that class runs, the breakpoint magically > jumps to line 148. When I walk the code it stops on blank lines, comments, > etc. > > Anyone have any advice. This happens to us all the time, but normally it > is > not this difficult to get back in sync. In googling, this issue goes back > to Flex 2 which upsets me more that Adobe has not fixed this issue. I've > also tried clearing browser cache just in case it was pulling a cached swf. > > Dale > > > > ------------------------------------------------------------- > To unsubscribe from this list, simply email the list with unsubscribe in > the subject line > > For more info, see http://www.affug.com > Archive @ http://www.mail-archive.com/discussion%40affug.com/ > List hosted by http://www.fusionlink.com > ------------------------------------------------------------- > > >
