File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Debugging into Sun's code

Alan W. Smith

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

Joined: Jul 08, 2003
Posts: 24199

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

Joined: May 26, 2003
Posts: 33108

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

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Debugging into Sun's code
It's not a secret anymore!