Eclipse条件断点期间的ObjectCollectedException

时间:2019-04-29 13:45:39

标签: java eclipse debugging

条件断点说:

"String Literal".equals( stringWhichIsInScope )

.metadata/.log中的异常是:

!ENTRY org.eclipse.jdt.debug 4 125 2019-04-29 14:31:48.928
!MESSAGE Internal error logged from JDI Debug: 
!STACK 0
com.sun.jdi.ObjectCollectedException
    at org.eclipse.jdi.internal.MirrorImpl.defaultReplyErrorHandler(MirrorImpl.java:282)
    at org.eclipse.jdi.internal.ObjectReferenceImpl.disableCollection(ObjectReferenceImpl.java:104)
    at org.eclipse.jdt.internal.debug.core.model.JDIObjectValue.disableCollection(JDIObjectValue.java:566)
    at org.eclipse.jdt.internal.debug.eval.ast.engine.Interpreter.disableCollection(Interpreter.java:119)
    at org.eclipse.jdt.internal.debug.eval.ast.engine.Interpreter.push(Interpreter.java:104)
    at org.eclipse.jdt.internal.debug.eval.ast.instructions.Instruction.pushNewValue(Instruction.java:184)
    at org.eclipse.jdt.internal.debug.eval.ast.instructions.PushString.execute(PushString.java:29)
    at org.eclipse.jdt.internal.debug.eval.ast.engine.Interpreter.execute(Interpreter.java:69)
    at org.eclipse.jdt.internal.debug.eval.ast.engine.ASTEvaluationEngine$EvalRunnable$1EvaluationRunnable.run(ASTEvaluationEngine.java:705)
    at org.eclipse.jdt.internal.debug.core.model.JDIThread.runEvaluation(JDIThread.java:840)
    at org.eclipse.jdt.internal.debug.eval.ast.engine.ASTEvaluationEngine$EvalRunnable.run(ASTEvaluationEngine.java:758)
    at org.eclipse.jdt.internal.debug.core.model.JDIThread$ThreadJob.run(JDIThread.java:3603)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

这里没有什么可以诊断的。我还能尝试什么?我可以检查什么?

0 个答案:

没有答案