Never had that dueling breakpoints before.  Yes, I've saved and clean built
the projects many times as well as bounce eclipse many times.  I've even
rebooted once.  Clean browser cache and manually removed all the built
classes.

I've gone into the breakpoints view and removed all from there and then
repeated with clean builds and bouncing eclipse.

It is just stuck and no matter what new code I place in the class the new
code does not run and my breakpoints are not correct.

Dale

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Cameron
Childress
Sent: Wednesday, April 07, 2010 4:49 PM
To: [email protected]
Subject: Re: [AFFUG Discuss] When a breakpoint is not a breakpoint and code
is not code

I have things like this occasionally happen if I try to set a
breakpoint on code I have recently added, but only if I attempt to add
the breakpoint before I save the file.

I've also occasionally run into a situation where somehow I get two
breakpoints on top of each other on the same line.  Clicking turns the
top one on and off and the bottom one can't be killed.

Have you tried doing a clean on the project?  I would also review the
breakpoints view to make sure there isn't anything funny going on
there.

-Cameron

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
-------------------------------------------------------------





-------------------------------------------------------------
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
-------------------------------------------------------------


Reply via email to