*
The moose likes IDEs, Version Control and other tools and the fly likes RAD 7.5.4  -  Debugger going to wrong lines during debug session Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "RAD 7.5.4  -  Debugger going to wrong lines during debug session" Watch "RAD 7.5.4  -  Debugger going to wrong lines during debug session" New topic
Author

RAD 7.5.4 - Debugger going to wrong lines during debug session

Dan Lajoy
Greenhorn

Joined: May 28, 2003
Posts: 19
I haven't been out here in a while, so please let me know if this question belongs in another forum, or not in the Java Ranch all together. (I ck'd IBM's site a bit and didn't see anything......granted I took a quick look.)

I've had this same problem before with ealier versions of Websphere (WSAD5, WAS6, etc.)...but I forgot how I was able to resolve it. Basically, when I'm stepping thru my J2EE Java app code in debug mode (step into), the debugger works fine in some classes, but in others it goes to the wrong lines. It skips over lines of code, and steps into comment lines. Something's out of synch for sure. It's almost like the debugger is following the lines of code in a prior version of the class, or the source code is not in synch with the compiled code? No clue.

I've tried doing a clean build, removing the ear projects while the server was running, then adding them back in....but nothing seems to work. My code is working fine, whether in "run" mode or in "debug" mode....my end results are good. It's just that the debugger is acting funny.

Any help on this would be most appreciated.

Thanks,
Dan


SCJP 1.4
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11308
    
  16

I am not an expert, but it does sound like your class files aren't in sync with your java files. I don't always trust "clean" builds...can you manually delete the class files that are wonky and re-build them then? i.e. be SURE they really get re-built.


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Dan Lajoy
Greenhorn

Joined: May 28, 2003
Posts: 19
Thanks, I'll give that a try and see what happens.
Dan Lajoy
Greenhorn

Joined: May 28, 2003
Posts: 19
That was a good idea, but it didn't work.

I also have 2 other debugger session issues with RAD 7.

1- when I hover over an attribute it shows me the attribute's name and type, but not the value.
2- in the Variables window, instead of showing me the att name and value, it displays var's as Arg1, Arg2...and Temp0, Temp1, Temp2, etc...

Really strange.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RAD 7.5.4 - Debugger going to wrong lines during debug session