Fix issue with crash on exception break

This commit is contained in:
adelphes
2017-02-02 19:19:20 +00:00
parent b60ef65803
commit dfed765d21

View File

@@ -1636,7 +1636,7 @@ Debugger.prototype = {
}, },
fn: function (e) { fn: function (e) {
// each exception hit contributes a global suspend // each exception hit contributes a global suspend
x.dbgr.session.suspendcount++; e.data.dbgr.session.suspendcount++;
// if this exception break occurred during a step request, we must manually clear the event // if this exception break occurred during a step request, we must manually clear the event
// or the (device-side) debugger will crash on next step // or the (device-side) debugger will crash on next step
this._clearLastStepRequest(e.event.threadid, e).then(e => { this._clearLastStepRequest(e.event.threadid, e).then(e => {