debugger show .class file instead of source file

I am using IDEA 4.0.2 on Mac OS X Panther 10.3.3.

Occasionally, when debugging, if a breakpoint is set in a source file, the class file is decompiled and displayed instead of the source file when the debugger stops at the breakpoint. Way frustrating!

The work-around that I have found to occasionally work (again frustrating) is to exit IDEA and toss the cache directory. I've also tried compiling with both javac and jikes. I assume that if the compiler option "generating debugging info" is selected then jikes will be invoked with the -g option. I'm throwing in the -g option in on as an extra command line parameter for good measure.

Is anybody experiencing this problem?

This bug is also reported by someone else in the Tracker at:
http://www.intellij.net/tracker/idea/viewSCR?publicId=28548

1 comment
Comment actions Permalink

Hi

I am experiencing this also. Only in Tomcat 5.0.19 though. In 4.x I get ClassNotFound exceptions concerning the AJP classes.

I am still looking to see if anyone has found a solution for the .class file being shown and not the .java so I can step through it.

0

Please sign in to leave a comment.