SDK1.2.2 debugger problems

Posted on 2000-01-21
Medium Priority
Last Modified: 2010-04-01

I'm using SDK 1.2.2. on Windows NT 4.0 and I'm having some problems with the debugger.  I'm running an applet and the problem is that whenever I try to step into a method from from another class, the debugger tells me that it is unable to find ClassLoader.java.  Is this something that has to do with the Classpath???  I read somewhere that with 1.2.2 you don't need to set the CLASSPATH variable.  But why else would it not be able to find ClassLoader.jave?
Question by:tblackwe
  • 2
  • 2

Accepted Solution

comerm earned 100 total points
ID: 2375114
Since ClassLoader is part of the JDK/JRE, the source code for it is not available (by default). You can install the Java sources and tell the debugger where to find them, or you can just ignore these messages and resume source-level debugging once you have stepped back into one of your own classes.

Author Comment

ID: 2375355
I still don't understand how to step into another class if I don't install the "Java Sources"

Expert Comment

ID: 2375386
Hmmmm. Perhaps I misunderstood your question.

The debugger should continue to let you step through the code, it just cannot show you source code for classes for which the sources are not present. Also, depending on how these "system" classes were compiled, you will probably not be able to inspect local variables and so forth.

Is the debugger not actually letting you continue debugging at this point?

Please reject my answer, add a little more info. about the symptoms of the problem, and let's start over (grin).

Author Comment

ID: 2379759
The problem is that I'm trying to step into a method of another class( a class whic is in the same java file) and the debugger keeps telling me that it cannot find the source for the class because it couldn't find ClassLoader.java.  I figured that was because it didn't know where to look for it.   I automatically assumed that it was an issue with the CLASSPATH environment variable.

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
The viewer will learn how to implement Singleton Design Pattern in Java.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses
Course of the Month3 days, 3 hours left to enroll

598 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question