diff --git a/remix-debug/src/Ethdebugger.js b/remix-debug/src/Ethdebugger.js index 0b63056a75..d5fcd8afbb 100644 --- a/remix-debug/src/Ethdebugger.js +++ b/remix-debug/src/Ethdebugger.js @@ -83,7 +83,7 @@ Ethdebugger.prototype.sourceLocationFromVMTraceIndex = function (address, stepIn } Ethdebugger.prototype.sourceLocationFromInstructionIndex = function (address, instIndex, callback) { - this.debugger.callTree.sourceLocationTracker.getSourceLocationFromInstructionIndex(address, instIndex, this.solidityProxy.contracts, function (error, rawLocation) { + this.callTree.sourceLocationTracker.getSourceLocationFromInstructionIndex(address, instIndex, this.solidityProxy.contracts, function (error, rawLocation) { callback(error, rawLocation) }) }