diff --git a/libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx b/libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx index 5a4b45d0a0..c8799fa148 100644 --- a/libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx +++ b/libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx @@ -81,6 +81,7 @@ export const DebuggerUI = ({ debuggerModule }) => { }) debuggerInstance.event.register('newSourceLocation', async (lineColumnPos, rawLocation, generatedSources) => { + if (!lineColumnPos) return const contracts = await fetchContractAndCompile( currentReceipt.contractAddress || currentReceipt.to, currentReceipt)