Fix NPE on stepping
#KT-9821 Fixed
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ public class KotlinSteppingCommandProvider: JvmSteppingCommandProvider() {
|
|||||||
): DebugProcessImpl.ResumeCommand? {
|
): DebugProcessImpl.ResumeCommand? {
|
||||||
if (suspendContext == null || suspendContext.isResumed) return null
|
if (suspendContext == null || suspendContext.isResumed) return null
|
||||||
|
|
||||||
val sourcePosition = suspendContext.debugProcess.debuggerContext.sourcePosition
|
val sourcePosition = suspendContext.debugProcess.debuggerContext.sourcePosition ?: return null
|
||||||
return getStepOverCommand(suspendContext, ignoreBreakpoints, sourcePosition)
|
return getStepOverCommand(suspendContext, ignoreBreakpoints, sourcePosition)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user