From e81e35b1a4f332a7455c23f120afdcdbe4bf7281 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 4 Nov 2020 11:10:37 +0100 Subject: [PATCH] return if no like / column --- libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx | 1 + 1 file changed, 1 insertion(+) 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 ad8ae11c6b..4e8cc19dfe 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)