fix debugger

pull/1/head
yann300 8 years ago
parent eddcee2f37
commit cc78c6649b
  1. 2
      src/app/debugger.js

@ -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()

Loading…
Cancel
Save