Fix NPE on stepping

#KT-9821 Fixed
This commit is contained in:
Natalia Ukhorskaya
2015-10-30 14:21:39 +03:00
parent e1e845cef1
commit 8be9be336f
@@ -53,7 +53,7 @@ public class KotlinSteppingCommandProvider: JvmSteppingCommandProvider() {
): DebugProcessImpl.ResumeCommand? {
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)
}