出于某种原因,如果 Eclipse 每隔一步都会抛出一个崩溃错误,我几乎无法调试任何东西。我在 Eclipse 4.2 上调试 Android。我得到的错误说:
'JDI Event Dispatch' has encountered a problem.
An internal error occurred during: "JDI Event Dispatch".
An internal error occurred during: "JDI Event Dispatch".
java.lang.UnsupportedOperationException
在错误日志中,我得到:
eclipse.buildId=I20120608-1400
java.version=1.7.0_02
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product
Error
Fri Mar 15 20:53:09 CDT 2013
An internal error occurred during: "JDI Event Dispatch".
java.lang.UnsupportedOperationException
at org.eclipse.jdi.internal.MirrorImpl.defaultReplyErrorHandler(MirrorImpl.java:292)
at org.eclipse.jdi.internal.MethodImpl.bytecodes(MethodImpl.java:345)
at org.eclipse.jdt.internal.debug.core.model.JDIMethod.isGetterMethod(JDIMethod.java:86)
at org.eclipse.jdt.internal.debug.core.model.JDIThread$StepHandler.locationIsFiltered(JDIThread.java:2559)
at org.eclipse.jdt.internal.debug.core.model.JDIThread$StepHandler.locationShouldBeFiltered(JDIThread.java:2525)
at org.eclipse.jdt.internal.debug.core.model.JDIThread$StepHandler.handleEvent(JDIThread.java:2477)
at org.eclipse.jdt.internal.debug.core.EventDispatcher.dispatch(EventDispatcher.java:152)
at org.eclipse.jdt.internal.debug.core.EventDispatcher.access$0(EventDispatcher.java:100)
at org.eclipse.jdt.internal.debug.core.EventDispatcher$1.run(EventDispatcher.java:249)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
同样根据错误日志,错误发生在 Plug-in 中or.eclipse.core.jobs
。任何帮助将不胜感激,我发现没有调试器很难工作!