From dfed765d21f8aba6373fc4dd279e18e20cd75bdc Mon Sep 17 00:00:00 2001 From: adelphes Date: Thu, 2 Feb 2017 19:19:20 +0000 Subject: [PATCH] Fix issue with crash on exception break --- src/debugger.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debugger.js b/src/debugger.js index 90e864f..c231739 100644 --- a/src/debugger.js +++ b/src/debugger.js @@ -1636,7 +1636,7 @@ Debugger.prototype = { }, fn: function (e) { // 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 // or the (device-side) debugger will crash on next step this._clearLastStepRequest(e.event.threadid, e).then(e => {