(CoroutineDebugger) No restored frames in coroutine context found.
This commit is contained in:
+2
-2
@@ -28,8 +28,8 @@ class ContinuationHolder private constructor(val context: DefaultExecutionContex
|
|||||||
if (coroutineStackFrame != null)
|
if (coroutineStackFrame != null)
|
||||||
consumer.add(coroutineStackFrame)
|
consumer.add(coroutineStackFrame)
|
||||||
}
|
}
|
||||||
val lastRestoredFrame = continuationStack.coroutineStack.last()
|
val lastRestoredFrame = continuationStack.coroutineStack.lastOrNull()
|
||||||
return findCoroutineInformation(lastRestoredFrame.baseContinuationImpl.coroutineOwner, consumer)
|
return findCoroutineInformation(lastRestoredFrame?.baseContinuationImpl?.coroutineOwner, consumer)
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
log.error("Error while looking for stack frame.", e)
|
log.error("Error while looking for stack frame.", e)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user