diff --git a/libs/remix-debug/src/trace/traceManager.ts b/libs/remix-debug/src/trace/traceManager.ts index 848b3c57aa..f4bf488392 100644 --- a/libs/remix-debug/src/trace/traceManager.ts +++ b/libs/remix-debug/src/trace/traceManager.ts @@ -151,7 +151,7 @@ export class TraceManager { if (this.trace[stepIndex] && this.trace[stepIndex].stack) { // there's always a stack const stack = this.trace[stepIndex].stack.slice(0) stack.reverse() - return stack + return stack.map(el => el.startsWith('0x') ? el : '0x' + el) } else { throw new Error('no stack found') }