• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

RAD 7.5.4 - Debugger going to wrong lines during debug session

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
lowercase baba
Posts: 13091
67
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks, I'll give that a try and see what happens.
 
Dan Lajoy
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't mess with me you fool! I'm cooking with gas! Here, read this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic