Merge pull request #552 from ethereum/dontThrowIfNoSourceLocation

debugger: return directly if no line / column
pull/563/head
yann300 4 years ago committed by GitHub
commit 998c87a96e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      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)

Loading…
Cancel
Save