用eclipse的时候,遇到一个问题,每次debug的时候,都会第一个弹出这个exception
把ClassNotFoundException:caught and uncaught前面的勾去掉就OK了。
reference:
I just hit a really annoying (sort of) bug in Eclipse. I could not debug any of my projects because they immediately stopped with a call stack like the following:
terrain.TerrainApp at localhost:49827
Thread [main] (Suspended (exception ClassNotFoundException))
ClassLoader.findBootstrapClass(String) line: not available [native method]
Launcher$ExtClassLoader(ClassLoader).findBootstrapClass0(String) line: not available
Launcher$ExtClassLoader(ClassLoader).loadClass(String, boolean) line: not available
Launcher$AppClassLoader(ClassLoader).loadClass(String, boolean) line: not available
Launcher$AppClassLoader.loadClass(String, boolean) line: not available
Launcher$AppClassLoader(ClassLoader).loadClass(String) line: not available
Launcher$AppClassLoader(ClassLoader).loadClassInternal(String) line: not availableI found people with similar issues on various message boards, but no solutions.
解决的办法是:
在 Window -->show view --> Breakpoints 里面
ClassNotFoundException:caught and uncaught前面的勾去掉就OK了
把ClassNotFoundException:caught and uncaught前面的勾去掉就OK了。
reference:
I just hit a really annoying (sort of) bug in Eclipse. I could not debug any of my projects because they immediately stopped with a call stack like the following:
terrain.TerrainApp at localhost:49827
Thread [main] (Suspended (exception ClassNotFoundException))
ClassLoader.findBootstrapClass(String) line: not available [native method]
Launcher$ExtClassLoader(ClassLoader).findBootstrapClass0(String) line: not available
Launcher$ExtClassLoader(ClassLoader).loadClass(String, boolean) line: not available
Launcher$AppClassLoader(ClassLoader).loadClass(String, boolean) line: not available
Launcher$AppClassLoader.loadClass(String, boolean) line: not available
Launcher$AppClassLoader(ClassLoader).loadClass(String) line: not available
Launcher$AppClassLoader(ClassLoader).loadClassInternal(String) line: not availableI found people with similar issues on various message boards, but no solutions.
解决的办法是:
在 Window -->show view --> Breakpoints 里面
ClassNotFoundException:caught and uncaught前面的勾去掉就OK了
之后 debug模式 正常运行 运行 停止在断点处..
转载自:http://tonyan416.iteye.com/blog/1192634