EA-208866 - IAE: SafeUtilKt.safeSourceName - fixed in platform

This commit is contained in:
Egor Ushakov
2019-10-14 12:55:18 +03:00
parent f6e0e5b80d
commit ea7f6dbd33
@@ -62,13 +62,7 @@ fun StackFrameProxy.safeLocation(): Location? {
}
fun Location.safeSourceName(): String? {
return try {
sourceName()
} catch (e: AbsentInformationException) {
null
} catch (e: InternalError) {
null
}
return DebuggerUtilsEx.getSourceName(this) { null }
}
fun Location.safeLineNumber(): Int {