EA-208866 - IAE: SafeUtilKt.safeSourceName - fixed in platform
This commit is contained in:
+1
-7
@@ -62,13 +62,7 @@ fun StackFrameProxy.safeLocation(): Location? {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun Location.safeSourceName(): String? {
|
fun Location.safeSourceName(): String? {
|
||||||
return try {
|
return DebuggerUtilsEx.getSourceName(this) { null }
|
||||||
sourceName()
|
|
||||||
} catch (e: AbsentInformationException) {
|
|
||||||
null
|
|
||||||
} catch (e: InternalError) {
|
|
||||||
null
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun Location.safeLineNumber(): Int {
|
fun Location.safeLineNumber(): Int {
|
||||||
|
|||||||
Reference in New Issue
Block a user