Unverified Commit 998c87a9 authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #552 from ethereum/dontThrowIfNoSourceLocation

debugger: return directly if no line / column
parents 92e295d4 e81e35b1
...@@ -81,6 +81,7 @@ export const DebuggerUI = ({ debuggerModule }) => { ...@@ -81,6 +81,7 @@ export const DebuggerUI = ({ debuggerModule }) => {
}) })
debuggerInstance.event.register('newSourceLocation', async (lineColumnPos, rawLocation, generatedSources) => { debuggerInstance.event.register('newSourceLocation', async (lineColumnPos, rawLocation, generatedSources) => {
if (!lineColumnPos) return
const contracts = await fetchContractAndCompile( const contracts = await fetchContractAndCompile(
currentReceipt.contractAddress || currentReceipt.to, currentReceipt.contractAddress || currentReceipt.to,
currentReceipt) currentReceipt)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment