[debugger] Refactoring: remove redundant argument

IJ-CR-120446

GitOrigin-RevId: f3141683fda98f42874dbcbdd82c2ecf314ec420
This commit is contained in:
Alexey Merkulov
2023-11-21 17:28:15 +01:00
committed by intellij-monorepo-bot
parent 9e5b4cf39d
commit b96742bf6f
3 changed files with 3 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ import org.jetbrains.kotlin.idea.debugger.coroutine.util.CoroutineFrameBuilder
import org.jetbrains.kotlin.utils.addToStdlib.safeAs
class CoroutineStackFrameInterceptor(val project: Project) : StackFrameInterceptor {
override fun createStackFrame(frame: StackFrameProxyImpl, debugProcess: DebugProcessImpl, location: Location): XStackFrame? {
override fun createStackFrame(frame: StackFrameProxyImpl, debugProcess: DebugProcessImpl): XStackFrame? {
if (debugProcess.xdebugProcess?.session is XDebugSessionImpl
&& frame !is SkipCoroutineStackFrameProxyImpl
&& AsyncStacksToggleAction.isAsyncStacksEnabled(debugProcess.xdebugProcess?.session as XDebugSessionImpl)) {