Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Debug no longer works (Debug stops but it will start if the Resume button is pressed then it stops again.)
Debug no longer works [message #731301] Fri, 30 September 2011 10:59 Go to next message
Eclipse UserFriend
The project works when the green run button is pressed. When the debug button is pressed the following comes up:

Beginning (2) [Java Application]
beginning.Beginning at localhost:57917
Thread [main] (Suspended (exception java.lang.ClassNotFoundException))
java.net.URLClassLoader$1.run() line: 202 [local variables unavailable]
java.security.AccessController.doPrivileged(java.security.PrivilegedExceptionAction<T>, java.security.AccessControlContext) line: not available [native method]
sun.misc.Launcher$ExtClassLoader(java.net.URLClassLoader).findClass(java.lang.String) line: 190
sun.misc.Launcher$ExtClassLoader.findClass(java.lang.String) line: 229
sun.misc.Launcher$ExtClassLoader(java.lang.ClassLoader).loadClass(java.lang.String, boolean) line: 306
sun.misc.Launcher$AppClassLoader(java.lang.ClassLoader).loadClass(java.lang.String, boolean) line: 295
sun.misc.Launcher$AppClassLoader.loadClass(java.lang.String, boolean) line: 301
sun.misc.Launcher$AppClassLoader(java.lang.ClassLoader).loadClass(java.lang.String) line: 247
Daemon Thread [Thread-1] (Running)
/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home/bin/java (Sep 29, 2011 11:40:27 PM)


When the Resume button is pressed a few times the execution stops at the first statement in the "main" java program. When the Resume is pressed the following keeps coming up:

Thread [main] (Suspended (exception java.lang.ClassNotFoundException))
java.net.URLClassLoader$1.run() line: 202 [local variables unavailable]
java.security.AccessController.doPrivileged(java.security.PrivilegedExceptionAction<T>, java.security.AccessControlContext) line: not available [native method]



Does anyone have any ideas?

Thank you,
Richard Mittleman

Re: Debug no longer works [message #731337 is a reply to message #731301] Fri, 30 September 2011 13:00 Go to previous messageGo to next message
Eclipse UserFriend
It looks like you have an Exception breakpoint set for caught exceptions. These exceptions get thrown during the normal course of loading classes. They are caught and handled by the class loader process. If you continue to hit resume, eventually you will have all classes loaded and they should stop.

Turn off the Exception breakpoint and you won't encounter any of the breapoints.
icon14.gif  Re: Debug no longer works [message #731417 is a reply to message #731337] Fri, 30 September 2011 18:26 Go to previous message
Eclipse UserFriend
Thank you very much that worked.
Previous Topic:Trying to create a JDK 1.2 Applet
Next Topic:can not open eclipse in Mac Lion
Goto Forum:
  


Current Time: Sun Jul 13 13:40:02 EDT 2025

Powered by FUDForum. Page generated in 0.02778 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top