From a2dbe7a5271b91d222adec217ab2f9e3959ec691 Mon Sep 17 00:00:00 2001 From: Maksim Zuev Date: Tue, 29 Oct 2024 11:33:06 +0100 Subject: [PATCH] [debugger] IDEA-361675 Fix API compatibility DebugProcessImpl.StepOutCommand (cherry picked from commit 68fa7e7f7f5e2b21f28fbcc32ccfe6b416b89a62) IJ-CR-148037 GitOrigin-RevId: 7b5bf721f9871eb06a0492262cfc4b74e93a950c --- .../src/com/intellij/debugger/engine/DebugProcessImpl.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/java/debugger/impl/src/com/intellij/debugger/engine/DebugProcessImpl.java b/java/debugger/impl/src/com/intellij/debugger/engine/DebugProcessImpl.java index 48110d4851da..d7cfce43e674 100644 --- a/java/debugger/impl/src/com/intellij/debugger/engine/DebugProcessImpl.java +++ b/java/debugger/impl/src/com/intellij/debugger/engine/DebugProcessImpl.java @@ -1935,6 +1935,10 @@ public abstract class DebugProcessImpl extends UserDataHolderBase implements Deb public class StepOutCommand extends StepCommand { private final int myStepSize; + public StepOutCommand(SuspendContextImpl suspendContext, int stepSize) { + this(suspendContext, stepSize, null); + } + public StepOutCommand(SuspendContextImpl suspendContext, int stepSize, @Nullable MethodFilter filter) { super(suspendContext, filter); myStepSize = stepSize; @@ -2770,7 +2774,7 @@ public abstract class DebugProcessImpl extends UserDataHolderBase implements Deb @NotNull public ResumeCommand createStepOutCommand(SuspendContextImpl suspendContext, int stepSize) { - return new StepOutCommand(suspendContext, stepSize, null); + return new StepOutCommand(suspendContext, stepSize); } @NotNull