Debugging X Files

Hi.

For the last day with 915 I have been having weird things happen between me
and IntelliJ 915 debugger.

For example, I have the following code:
1 if (getNextUpdate) {
2 if (iterator.hasNext()) {
3 update = (TreeUpdate) iterator.next();
4 } else {
5 processNextUpdate = false;
6 }
7 }

Line 3 gets executed correctly but then line 5 seems to be executed although
processNextUpdate (that was true before) stays true.
Some of the breakpoints don't break and the code doesn't seem to do what I
thought it would (it may be a bug, but with this kind of debugging I can't
really tell).

Anyone else experienced such strange behavior?

My next step is to try 908 again.

Thanks for any info on this,
Amnon


3 comments
Comment actions Permalink

Are you sure that your source and class files are in sync?

0
Comment actions Permalink

Yes.

I cleaned everything and rebuilt.

I also added a System.out call and saw it output to the console.

Amnon
"Dejan Predovic" <no_mail@jetbrains.com> wrote in message
news:30473906.1062771038381.JavaMail.itn@is.intellij.net...

Are you sure that your source and class files are in sync?



0
Comment actions Permalink

this is JVM or compiler bug. see discussion http://www.intellij.net/tracker/idea/viewSCR?publicId=14986

JVM correctly executes code, but gives invalid source locations to debugger

0

Please sign in to leave a comment.