Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Debugging into Sun's code

 
Alan W. Smith
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have a question about debugging through Sun's JDK code in eclipse. Whenever I've try to step into Sun's code, the highlighted line in the eclipse debugger is not where I'm expecting it to be ( i.e. it would be highlighting comments or some other method's body ). How can I fix this problem?

Thanks in advance!
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24212
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Alan,

Welcome to JavaRanch!

Sounds like a configuration error: specifically, the JDK that's running your program isn't the same version as the JDK source you're using. I'm going to move your question to our IDEs forum, where I'm sure someone will be able to tell you how to fix this.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34973
379
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Alan,
In Windows-->Preferences, check the path of the JDK and the path of the JDK souce to make sure they are compatible.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic