This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RAD 7.5.4 - Debugger going to wrong lines during debug session

 
Dan Lajoy
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
fred rosenberger
lowercase baba
Bartender
Pie
Posts: 12021
25
Chrome Java Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Dan Lajoy
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, I'll give that a try and see what happens.
 
Dan Lajoy
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic