{"record":{"id":"aa5eedf1ab6b0280","repo":"JetBrains/intellij-community","slug":"breakpoint-condition-error","errorCode":null,"errorMessage":"Breakpoint Condition Error","messagePattern":"Breakpoint Condition Error","errorType":"exception","errorClass":"EventProcessingException","httpStatus":null,"severity":"error","filePath":"java/debugger/impl/src/com/intellij/debugger/ui/breakpoints/Breakpoint.java","lineNumber":393,"sourceCode":"        return false;\n      }\n\n      EvaluationContextImpl evaluationContext = new EvaluationContextImpl(context, frameProxy, () -> getThisObject(context, event));\n\n      if (!evaluateCondition(evaluationContext, event)) {\n        return false;\n      }\n\n      title = JavaDebuggerBundle.message(\"title.error.evaluating.breakpoint.action\");\n      runAction(evaluationContext, event);\n    }\n    catch (final EvaluateException ex) {\n      if (ApplicationManager.getApplication().isUnitTestMode() && !DapMode.isDap()) {\n        context.getDebugProcess().printToConsole(ex.getMessage() + \"\\n\");\n        return false;\n      }\n\n      throw new EventProcessingException(title, ex.getMessage(), ex);\n    }\n\n    return true;\n  }\n\n  private void runAction(EvaluationContextImpl context, LocatableEvent event) {\n    DebugProcessImpl debugProcess = context.getDebugProcess();\n    if (getProperties().isTRACING_START() && Registry.is(\"debugger.call.tracing\")) {\n      CallTracer.get(debugProcess).start(context.getSuspendContext().getThread());\n    }\n    if (getProperties().isTRACING_END() && Registry.is(\"debugger.call.tracing\")) {\n      CallTracer.get(debugProcess).stop(event.thread());\n    }\n    if (isLogEnabled() || isLogExpressionEnabled() || isLogStack()) {\n      getBreakpointManager().beforeLoggingBreakpoint(context.getSuspendContext());\n      StringBuilder buf = new StringBuilder();\n      if (myXBreakpoint.isLogMessage()) {\n        buf.append(getEventMessage(event)).append(\"\\n\");","sourceCodeStart":375,"sourceCodeEnd":411,"githubUrl":"https://github.com/JetBrains/intellij-community/blob/be881553f2a76ac8b4ea53950d93f0de78295c19/java/debugger/impl/src/com/intellij/debugger/ui/breakpoints/Breakpoint.java#L375-L411","documentation":"Error \"Breakpoint Condition Error\" thrown in JetBrains/intellij-community.","triggerScenarios":"A breakpoint's condition expression fails to compile or evaluate when the breakpoint is hit.","commonSituations":"Condition referencing an out-of-scope variable, a renamed symbol, or throwing an exception during evaluation.","solutions":["Open the breakpoint properties and fix the condition expression so it compiles and evaluates to a boolean.","Clear the condition if it is not needed."],"exampleFix":"Right-click the breakpoint -> More -> Condition: replace the broken expression with e.g. i > 5.","handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"be881553f2a76ac8b4ea53950d93f0de78295c19","analyzedAt":"2026-08-14T14:13:06.425Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}