implement a more reliable evaluation queue

This commit is contained in:
adelphes
2017-01-28 19:12:35 +00:00
parent 6f3f5eee74
commit 88c20d6470
2 changed files with 61 additions and 43 deletions

View File

@@ -712,6 +712,8 @@ Debugger.prototype = {
},
getsupertype: function (local, extra) {
if (local.type.signature==='Ljava/lang/Object;')
return $.Deferred().rejectWith(this,[new Error('java.lang.Object has no super type')]);
return this.gettypedebuginfo(local.type.signature, { local: local, extra: extra })
.then(function (dbgtype, x) {
return this._ensuresuper(dbgtype[x.local.type.signature])