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

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?

What language are you programming in?

What version of Eclipse are you using?

Sometimes if the debugger won't stop at your breakpoints, it is because the source code you're viewing is not in sync with the code that is being executed. Try doing a clean build of all your projects, and make sure you haven't got a stale version of your code lying around in a .jar or .lib file somewhere on the the path.