[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: Debugger Doesn't Stop At Some Breakpoints (And a weird array problem)

On 9/12/09 2:06 AM, erickulcyk@xxxxxxxxx wrote:
Hello,

I am trying to debug my program because of a strange occurrence: The
data in my array changes without me doing anything to it.... You might
think that I am missing something, but I have run though my code over
and over and over again, and my array is not being touched. I print out
the array's data at location x and at location y, and at x it is
correct, at y it is all 0's. I do not do anything to the array in between.

Anyway, I am trying to debug this, when suddenly the debugger won't stop
at my breakpoints. The only one it will stop at is a breakpoint in the
very beginning. I restarted eclipse, restarted Ubuntu, same problem.
Could these two problems possibly be related?

Is there anything I can try/look at to fix this/these problems?

There was a bug in one of the versions of Sun's JDK 1.6 that caused problems during debugging; you should check if you have the very latest version of JDK (1.6.0_16) and you've specified it for Eclipse to use.
I can't find the bug report right now, but IIRC it was the sole reason for Sun to release the _16 update.


Hope this helps,
Eric