aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Debugging into Sun's code 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 "Debugging into Sun Watch "Debugging into Sun New topic
Author

Debugging into Sun's code

Alan W. Smith
Greenhorn

Joined: Sep 07, 2004
Posts: 13
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

Joined: Jul 08, 2003
Posts: 24187
    
  34

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.


[Jess in Action][AskingGoodQuestions]
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31079
    
163

Alan,
In Windows-->Preferences, check the path of the JDK and the path of the JDK souce to make sure they are compatible.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Debugging into Sun's code