Debugger: Replace unsafe location() calls with safeLocation()

This commit is contained in:
Yan Zhulanow
2020-05-01 22:33:40 +09:00
parent e6791ea4c3
commit d0f34624bd
2 changed files with 3 additions and 2 deletions
@@ -22,7 +22,7 @@ class KotlinExtraSteppingFilter : ExtraSteppingFilter {
val debugProcess = context.debugProcess ?: return false
val positionManager = KotlinPositionManager(debugProcess)
val location = context.frameProxy?.location() ?: return false
val location = context.frameProxy?.safeLocation() ?: return false
return runReadAction {
shouldFilter(positionManager, location)
}