我是靠谱客的博主 粗心乌冬面,这篇文章主要介绍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 调试中不支持运行到断点问题的全部内容,更多相关eclipse不进入断点_Eclipse内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(40)

评论列表共有 0 条评论

立即
投稿
返回
顶部