bunsenstraat 2 years ago
parent b3fe717fdc
commit 41fa89cd18
  1. 4
      libs/remix-debug/src/solidity-decoder/internalCallTree.ts
  2. 1
      libs/remix-debug/src/solidity-decoder/solidityProxy.ts

@ -90,10 +90,10 @@ export class InternalCallTree {
console.log('call tree build lasts ', (Date.now() - time) / 1000)
this.event.trigger('callTreeReady', [this.scopes, this.scopeStarts])
}
}, (reason) => {
}/* , (reason) => {
console.log('analyzing trace falls ' + reason)
this.event.trigger('callTreeNotReady', [reason])
})
}*/)
}
})
}

@ -110,6 +110,7 @@ export class SolidityProxy {
*/
async ast (sourceLocation, generatedSources, address) {
const compilationResult = await this.compilationResult(address)
console.log('compilationResult', compilationResult)
const file = this.fileNameFromIndex(sourceLocation.file, compilationResult.data)
if (!file && generatedSources && generatedSources.length) {
for (const source of generatedSources) {

Loading…
Cancel
Save