Search in sources :

Example 1 with InconsistentDebugInfoException

use of com.sun.jdi.InconsistentDebugInfoException in project intellij-community by JetBrains.

the class NodeDescriptorImpl method updateRepresentationNoNotify.

protected void updateRepresentationNoNotify(EvaluationContextImpl context, DescriptorLabelListener labelListener) {
    try {
        try {
            myEvaluateException = null;
            myLabel = calcRepresentation(context, labelListener);
        } catch (InconsistentDebugInfoException e) {
            throw new EvaluateException(DebuggerBundle.message("error.inconsistent.debug.info"));
        } catch (InvalidStackFrameException e) {
            throw new EvaluateException(DebuggerBundle.message("error.invalid.stackframe"));
        } catch (VMDisconnectedException e) {
            throw e;
        } catch (RuntimeException e) {
            if (e.getCause() instanceof InterruptedException) {
                throw e;
            }
            LOG.error(e);
            throw new EvaluateException("Internal error, see logs for more details");
        }
    } catch (EvaluateException e) {
        setFailed(e);
    }
}
Also used : VMDisconnectedException(com.sun.jdi.VMDisconnectedException) EvaluateException(com.intellij.debugger.engine.evaluation.EvaluateException) InconsistentDebugInfoException(com.sun.jdi.InconsistentDebugInfoException) InvalidStackFrameException(com.sun.jdi.InvalidStackFrameException)

Aggregations

EvaluateException (com.intellij.debugger.engine.evaluation.EvaluateException)1 InconsistentDebugInfoException (com.sun.jdi.InconsistentDebugInfoException)1 InvalidStackFrameException (com.sun.jdi.InvalidStackFrameException)1 VMDisconnectedException (com.sun.jdi.VMDisconnectedException)1