fix debugger

pull/2035/head
filip mertens 3 years ago
parent 7dee1a02e6
commit 8a7ab3f08e
  1. 2
      apps/remix-ide-e2e/src/tests/solidityUnittests.test.ts
  2. 2
      libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx

@ -263,7 +263,7 @@ module.exports = {
.removeFile('tests/ballotFailedLog_test.sol', 'workspace_new')
},
'Debug tests using debugger #group5': function (browser: NightwatchBrowser) {
'Debug tests using debugger #group7': function (browser: NightwatchBrowser) {
browser
.waitForElementPresent('*[data-id="verticalIconsKindfilePanel"]')
.addFile('tests/ballotFailedDebug_test.sol', sources[0]['tests/ballotFailedDebug_test.sol'])

@ -230,6 +230,7 @@ export const DebuggerUI = (props: DebuggerUIProps) => {
debugWithGeneratedSources: state.opt.debugWithGeneratedSources
})
setTimeout(async() => {
try {
await debuggerInstance.debug(blockNumber, txNumber, tx, () => {
listenToEvents(debuggerInstance, currentReceipt)
@ -257,6 +258,7 @@ export const DebuggerUI = (props: DebuggerUIProps) => {
}
})
}
}, 300)
}
const debug = (txHash, web3?) => {

Loading…
Cancel
Save