eclipse不进入断点_Eclipse 调试中不支持运行到断点问题
引用
eclipse debug? URLClassPath.getLoader(int) file
結果在這個地方
[url]
http://www.eclipse.org/forums/index.php?t=msg&S=73b3719b575dd532260d1809694f886b&th=77485&goto=241565
[/url]
找到了一些簡介.
就是因為,其它的項目有的斷點.把那些斷點去掉就可以了.
This is a follow-up to the posting "Unexpected breakpoint in debugger". I
didn't find a bug report as was suggested in the posting.
When I run my program normally, everything is fine. But when I run in the
debugger, I get the error below. I've tried changing the option with no
effect: Window>Preferences>Java>Debug>Suspend execution on uncaught
exceptions
The problem seems to happen in cases where a class is instantiated from
another branch in the source tree or in a different project or from a jar.
It works if all the classes are in the same project and location.
Setup:
Eclipse 3.2.0 using JRE 1.4.2
Windows XP Pro
Has anyone else run into this?
Thanks,
Keith
Thread [main] (Suspended (exception FileNotFoundException))
URLClassPath$JarLoader.getJarFile(URL) line: 576
URLClassPath$JarLoader.(URL, URLStreamHandler, HashMap) line: 545
URLClassPath$3.run() line: 323
AccessController.doPrivileged(PrivilegedExceptionAction) line: not
available [native method]
URLClassPath.getLoader(URL) line: 312
URLClassPath.getLoader(int) line: 289
URLClassPath.getResource(String, boolean) line: 159
URLClassLoader$1.run() line: 191
AccessController.doPrivileged(PrivilegedExceptionAction,
AccessControlContext) line: not available [native method]
Launcher$AppClassLoader(URLClassLoader).findClass(String) line: 187
Launcher$AppClassLoader(ClassLoader).loadClass(String, boolean) line: 289
Launcher$AppClassLoader.loadClass(String, boolean) line: 274
Launcher$AppClassLoader(ClassLoader).loadClass(String) line: 235
Launcher$AppClassLoader(ClassLoader).loadClassInternal(Strin g) line: 302
DebugClass.foo() line: 13
DebugTest2.doSomething() line: 17
DebugTest2.main(String[]) line: 10
原回答如下:
In the Breakpoints view, do you see any listed? Use the "XX" button to
remove all breakpoints - it is possible you inadvertently created an
Exception breakpoint, which will break any time the exception is thrown.
Hope this helps,
Eric
后來這個發貼人說問題解決了.回復如下.
Yes, clearning out the Breakpoints worked, Thanks!
然后我試了下,果然如此.真是太高興了.
要知道,我也折騰了很久啊..
0
頂
1
踩
分享到:
2011-07-13 16:03
瀏覽 8014
評論
1 樓
langyu
2011-07-14
里面的斷點誰加的?
總結
以上是生活随笔為你收集整理的eclipse不进入断点_Eclipse 调试中不支持运行到断点问题的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: mysql没加引号导致全表扫描_mysq
- 下一篇: php swoole process,P