Fixed exception details not being displayed

Make sure the exception scoperef is allocated before locals are retrieved.
This commit is contained in:
adelphes
2017-03-02 16:12:27 +00:00
parent 6451e38bca
commit 0b5be3020a
2 changed files with 6 additions and 3 deletions

View File

@@ -39,6 +39,8 @@ class AndroidThread {
}
allocateExceptionScopeReference(frameId) {
if (!this.paused) return;
if (!this.paused.last_exception) return;
this.paused.last_exception.frameId = frameId;
this.paused.last_exception.scopeRef = frameId + 1;
}