Commit cc78c664 authored by yann300's avatar yann300

fix debugger

parent eddcee2f
......@@ -43,7 +43,7 @@ function Debugger (id, editor, compiler, executionContextEvent, switchToFile, of
if (self.lastCompilationResult) {
this.debugger.sourceLocationTracker.getSourceLocation(address, index, self.lastCompilationResult.data.contracts, function (error, rawLocation) {
if (!error) {
var lineColumnPos = self.offsetToLineColumnConverter.offsetToLineColumn(rawLocation, rawLocation.file, self.editor, self.lastCompilationResult)
var lineColumnPos = self.offsetToLineColumnConverter.offsetToLineColumn(rawLocation, rawLocation.file, self.editor, self.lastCompilationResult.data)
self.highlight(lineColumnPos, rawLocation)
} else {
self.removeCurrentMarker()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment