Check if the stackFrame we use is valid (EA-120312)
Unfortunately, the 'isValid' is a private field in StackFrameImpl so we have to catch an exception with an empty catch block.
This commit is contained in:
+2
@@ -171,6 +171,8 @@ class KotlinCodeFragmentFactory : CodeFragmentFactory() {
|
||||
frameInfo = FrameInfo(frame?.thisObject(), visibleVariables)
|
||||
} catch (ignored: AbsentInformationException) {
|
||||
// Debug info unavailable
|
||||
} catch (ignored: InvalidStackFrameException) {
|
||||
// Thread is resumed, the frame we have is not valid anymore
|
||||
} finally {
|
||||
semaphore.up()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user