mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[debugger] Improve the check whether the instrumentation breakpoint is enabled
IDEA-370744 GitOrigin-RevId: 3eeb17f0ee96a94e2066aab91a7df03ba2e7cdc4
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user