pull/3205/head
yann300 2 years ago committed by Aniket
parent 4f7ffce311
commit 4d576df078
  1. 7
      libs/remix-debug/src/debugger/debugger.ts

@ -36,12 +36,7 @@ export class Debugger {
this.breakPointManager = new BreakpointManager({ this.breakPointManager = new BreakpointManager({
traceManager, traceManager,
callTree, callTree,
solidityProxy, solidityProxy
locationToRowConverter: async (sourceLocation) => {
const compilationResult = await this.compilationResult()
if (!compilationResult) return { start: null, end: null }
return await this.offsetToLineColumnConverter.offsetToLineColumn(sourceLocation, sourceLocation.file, compilationResult.source.sources, compilationResult.data.sources)
}
}) })
this.breakPointManager.event.register('breakpointStep', (step) => { this.breakPointManager.event.register('breakpointStep', (step) => {

Loading…
Cancel
Save