diff --git a/libs/remix-debug/src/debugger/solidityLocals.js b/libs/remix-debug/src/debugger/solidityLocals.js index c45eab6d19..9368172da2 100644 --- a/libs/remix-debug/src/debugger/solidityLocals.js +++ b/libs/remix-debug/src/debugger/solidityLocals.js @@ -51,7 +51,7 @@ class DebuggerSolidityLocals { }, function getCurrentCalledAddressAt (stepIndex, next) { try { - const address = this.traceManager.getCurrentCalledAddressAt(stepIndex) + const address = self.traceManager.getCurrentCalledAddressAt(stepIndex) next(null, address) } catch (error) { next(error)