remove uneeded managersChanged

pull/2156/head
yann300 3 years ago
parent c66cb9455d
commit a8c4393cfd
  1. 1
      libs/remix-debug/src/Ethdebugger.ts
  2. 5
      libs/remix-debug/src/debugger/debugger.ts
  3. 5
      libs/remix-debug/test/debugger.ts

@ -64,7 +64,6 @@ export class Ethdebugger {
this.solidityProxy,
this.codeManager,
{ ...this.opts, includeLocalVariables })
this.event.trigger('managersChanged')
}
resolveStep (index) {

@ -41,11 +41,6 @@ export class Debugger {
}
})
this.breakPointManager.event.register('managersChanged', () => {
const { traceManager, callTree, solidityProxy } = this.debugger
this.breakPointManager.setManagers({ traceManager, callTree, solidityProxy })
})
this.breakPointManager.event.register('breakpointStep', (step) => {
this.event.trigger('breakpointStep', [])
this.step_manager.jumpTo(step)

@ -277,11 +277,6 @@ function testDebugging (debugManager) {
return sourceMappingDecoder.convertOffsetToLineColumn(rawLocation, sourceMappingDecoder.getLinebreakPositions(ballot))
}})
breakPointManager.event.register('managersChanged', () => {
const {traceManager, callTree, solidityProxy} = debugManager
breakPointManager.setManagers({traceManager, callTree, solidityProxy})
})
breakPointManager.add({fileName: 'test.sol', row: 38})
breakPointManager.event.register('breakpointHit', function (sourceLocation, step) {

Loading…
Cancel
Save