diff --git a/libs/remix-debug/src/Ethdebugger.js b/libs/remix-debug/src/Ethdebugger.js index b087213d41..a559ef5ccc 100644 --- a/libs/remix-debug/src/Ethdebugger.js +++ b/libs/remix-debug/src/Ethdebugger.js @@ -71,8 +71,8 @@ Ethdebugger.prototype.setBreakpointManager = function (breakpointManager) { } /* decode locals */ -Ethdebugger.prototype.extractLocalsAt = function (step, callback) { - callback(null, this.callTree.findScope(step)) +Ethdebugger.prototype.extractLocalsAt = function (step) { + return this.callTree.findScope(step) } Ethdebugger.prototype.decodeLocalsAt = function (step, sourceLocation, callback) {