mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[debugger] Fixed disable/enable logic for breakpoint instrumentation
IDEA-370744 GitOrigin-RevId: 7ef314eacb2aacc162d0c6de5ac1709c958e9a8f
This commit is contained in:
committed by
intellij-monorepo-bot
parent
bf4af1f8a4
commit
6fd638a53c
@@ -531,4 +531,9 @@ public class RequestManagerImpl extends DebugProcessAdapterImpl implements Reque
|
||||
public @Nullable InstrumentationBreakpointState getInstrumentationInfo(@NotNull Requestor requestor) {
|
||||
return myInstrumentationInfo.get(requestor);
|
||||
}
|
||||
|
||||
@ApiStatus.Internal
|
||||
public void deleteInstrumentationInfoFor(@NotNull Requestor requestor) {
|
||||
myInstrumentationInfo.remove(requestor);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -138,7 +138,8 @@ 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.isInstrumentationModeEnabled()) {
|
||||
if (instrumentationBreakpointState != null) {
|
||||
instrumentationBreakpointState.updateInstrumentationModeEnabled(debugProcess.getRequestsManager(), true);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user