From 311f6e77518a7a18a6f6f878a95046346b01cca9 Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 13 Feb 2017 14:53:45 +0100 Subject: [PATCH] add the last step to the reduced trace --- src/util/internalCallTree.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/internalCallTree.js b/src/util/internalCallTree.js index 0de840d35a..5c6fd7f06c 100644 --- a/src/util/internalCallTree.js +++ b/src/util/internalCallTree.js @@ -36,6 +36,7 @@ class InternalCallTree { this.event.trigger('callTreeBuildFailed', [result.error]) } else { console.log('ready') + this.reducedTrace.push(traceManager.trace.length - 1) this.event.trigger('callTreeReady', [this.scopes, this.scopeStarts]) } })