|
|
@ -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) => { |
|
|
|