From 469ab516031416536e949f728e85f771b0d8e28e Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 22 Aug 2018 09:42:36 +0200 Subject: [PATCH] fix hit breakpoint --- src/app/debugger/debugger.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/debugger/debugger.js b/src/app/debugger/debugger.js index 6da1d7c555..6cd6eb1cc9 100644 --- a/src/app/debugger/debugger.js +++ b/src/app/debugger/debugger.js @@ -40,11 +40,11 @@ function Debugger (container, sourceHighlighter, localRegistry) { this.breakPointManager = new remixLib.code.BreakpointManager(this.debugger, (sourceLocation) => { return self._deps.offsetToLineColumnConverter.offsetToLineColumn(sourceLocation, sourceLocation.file, this._deps.compiler.lastCompilationResult.source.sources) + }, (step) => { + this.debugger_ui.stepManager.jumpTo(step) }) this.debugger.setBreakpointManager(this.breakPointManager) - this.breakPointManager.event.register('breakpointHit', (sourceLocation) => { - }) var self = this self._deps.editor.event.register('breakpointCleared', (fileName, row) => {