Skip to content

Commit

Permalink
remove internal api use
Browse files Browse the repository at this point in the history
  • Loading branch information
CppCXY committed Nov 13, 2024
1 parent 0d4fec3 commit 87a6fa6
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import com.intellij.xdebugger.XSourcePosition
import com.intellij.xdebugger.breakpoints.XLineBreakpoint
import com.intellij.xdebugger.evaluation.XDebuggerEditorsProvider
import com.intellij.xdebugger.frame.XSuspendContext
import com.intellij.xdebugger.impl.XDebugSessionImpl
import com.tang.intellij.lua.debugger.*
import com.tang.intellij.lua.psi.LuaFileManager
import com.tang.intellij.lua.psi.LuaFileUtil
Expand Down Expand Up @@ -168,11 +167,7 @@ abstract class EmmyDebugProcessBase(session: XDebugSession) : LuaDebugProcess(se
}
} else {
ApplicationManager.getApplication().invokeLater {
val se = session
if (se is XDebugSessionImpl)
se.positionReached(LuaSuspendContext(stack), true)
else
se.positionReached(LuaSuspendContext(stack))
session.positionReached(LuaSuspendContext(stack))
session.showExecutionPoint()
}
}
Expand Down

0 comments on commit 87a6fa6

Please sign in to comment.