JetBrains/intellij-community · error · EventProcessingException

Breakpoint Condition Error

Error message

Breakpoint Condition Error

What it means

Error "Breakpoint Condition Error" thrown in JetBrains/intellij-community.

Source

Thrown at java/debugger/impl/src/com/intellij/debugger/ui/breakpoints/Breakpoint.java:393

        return false;
      }

      EvaluationContextImpl evaluationContext = new EvaluationContextImpl(context, frameProxy, () -> getThisObject(context, event));

      if (!evaluateCondition(evaluationContext, event)) {
        return false;
      }

      title = JavaDebuggerBundle.message("title.error.evaluating.breakpoint.action");
      runAction(evaluationContext, event);
    }
    catch (final EvaluateException ex) {
      if (ApplicationManager.getApplication().isUnitTestMode() && !DapMode.isDap()) {
        context.getDebugProcess().printToConsole(ex.getMessage() + "\n");
        return false;
      }

      throw new EventProcessingException(title, ex.getMessage(), ex);
    }

    return true;
  }

  private void runAction(EvaluationContextImpl context, LocatableEvent event) {
    DebugProcessImpl debugProcess = context.getDebugProcess();
    if (getProperties().isTRACING_START() && Registry.is("debugger.call.tracing")) {
      CallTracer.get(debugProcess).start(context.getSuspendContext().getThread());
    }
    if (getProperties().isTRACING_END() && Registry.is("debugger.call.tracing")) {
      CallTracer.get(debugProcess).stop(event.thread());
    }
    if (isLogEnabled() || isLogExpressionEnabled() || isLogStack()) {
      getBreakpointManager().beforeLoggingBreakpoint(context.getSuspendContext());
      StringBuilder buf = new StringBuilder();
      if (myXBreakpoint.isLogMessage()) {
        buf.append(getEventMessage(event)).append("\n");

View on GitHub (pinned to be881553f2)

Solutions

  1. Open the breakpoint properties and fix the condition expression so it compiles and evaluates to a boolean.
  2. Clear the condition if it is not needed.

Example fix

Right-click the breakpoint -> More -> Condition: replace the broken expression with e.g. i > 5.

When it happens

Trigger: A breakpoint's condition expression fails to compile or evaluate when the breakpoint is hit.

Common situations: Condition referencing an out-of-scope variable, a renamed symbol, or throwing an exception during evaluation.


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