Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Need help with debugging a Java applet



I am trying to write a Java applet, and I would like to use the debugger to get some insight into what I am doing wrong. The project is buildable, and the Debug window comes up; but it does not seem to recognize any of the breakpoints that I set in my Java code.

When I follow the instructions in the Project Builder help file, it seems that the breakpoints I insert in Java code are not recognized. Evidence for this is that in the Debugger window, I get reports of an exception raised after some of the breakpoints have been passed. Do I need to do some magic with target settings in order to debug Java?

I am working on a G4 Apple computer, running Mac OS 10.2.6, with the Developer Tools of December 2002.

N. B. This project is an applet, not a Java application. It uses "Swing."

I looked through the archives of this mailing list, and found some similar complaints over that past year or so. In one of the replies, by Jim Ingham, I find: "The JVM already comes with a debugging interface which is part of the language." Aha!


Aha?


Sun Microsystems makes texts of several of their books on Java available on line. I looked at the Java Language Specification and the Java Virtual Machine specification, and saw references to a debugging interface in neither of them. Well, sometimes people do not distinguish between the language and the supporting libraries... The API for the Java 2 Platform SE v1.4.1 is also on line. I don't see any reference to a debuggin interface there, either.

I feel as though I am suffering from a negative hallucination, i.e. the failure to see something that is really there. Can anyone point me in a better direction?

Chris Henrich
_______________________________________________
projectbuilder-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/projectbuilder-users
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.