[debugger] Improve the check whether the instrumentation breakpoint is enabled

IDEA-370744

GitOrigin-RevId: 3eeb17f0ee96a94e2066aab91a7df03ba2e7cdc4
This commit is contained in:
Alexey.Merkulov
2026-02-10 19:36:13 +00:00
committed by intellij-monorepo-bot
parent 7c5b4f9256
commit 4946c80232
@@ -138,8 +138,7 @@ public class LineBreakpoint<P extends JavaBreakpointProperties> extends Breakpoi
if (myXBreakpoint instanceof XBreakpointBase<?, ?, ?> xBreakpointBase && shouldInstrumentBreakpoint(xBreakpointBase)) {
InstrumentationBreakpointState instrumentationBreakpointState = debugProcess.getRequestsManager().getInstrumentationInfo(this);
if (instrumentationBreakpointState != null) {
instrumentationBreakpointState.updateInstrumentationModeEnabled(debugProcess.getRequestsManager(), true);
if (instrumentationBreakpointState != null && instrumentationBreakpointState.isInstrumentationModeEnabled()) {
return;
}
}