JetBrains/intellij-community · error · EvaluateException

Debug data corrupted

Error message

Debug data corrupted

What it means

Error "Debug data corrupted" thrown in JetBrains/intellij-community.

Source

Thrown at java/debugger/impl/src/com/intellij/debugger/jdi/StackFrameProxyImpl.java:444

        error = e;
        clearCaches();
      }
      catch (InconsistentDebugInfoException ignored) {
        clearCaches();
        throw EvaluateExceptionUtil.INCONSISTEND_DEBUG_INFO;
      }
      catch (InternalException e) {
        if (e.errorCode() == JvmtiError.INVALID_SLOT || e.errorCode() == JvmtiError.ABSENT_INFORMATION) {
          throw new EvaluateException(JavaDebuggerBundle.message("error.corrupt.debug.info", e.getMessage()), e);
        }
        else {
          throw e;
        }
      }
      catch (Exception e) {
        if (!getVirtualMachine().canBeModified()) { // do not care in read only vms
          LOG.debug(e);
          throw new EvaluateException("Debug data corrupted");
        }
        else {
          throw e;
        }
      }
    }
    throw new EvaluateException(error.getMessage(), error);
  }

  private Value getSingleValue(@NotNull LocalVariable variable) throws EvaluateException {
    return getStackFrame().getValue(variable);
  }

  public @NotNull List<Value> getArgumentValues() throws EvaluateException {
    DebuggerManagerThreadImpl.assertIsManagerThread();
    InvalidStackFrameException error = null;
    for (int attempt = 0; attempt < 2; attempt++) {
      try {

View on GitHub (pinned to be881553f2)

Solutions

  1. Do a clean rebuild to regenerate class files with valid debug information.
  2. Restart the debug session afterwards.

Example fix

Build | Rebuild Project; then start the debug session again.

When it happens

Trigger: Stack frame debug data (variable slots, line tables) is unreadable or inconsistent.

Common situations: Bytecode transformers, obfuscators, or partially recompiled classes producing corrupt LocalVariableTable entries.


AI-assisted analysis of JetBrains/intellij-community@be881553f2 (2026-08-14). Data as JSON: /api/errors/1a1e3f83a6e47354. Report an issue: GitHub.