|
|
|
@ -693,8 +693,11 @@ function run () { |
|
|
|
|
if (transactionDebugger.isActive) return |
|
|
|
|
|
|
|
|
|
fileManager.saveCurrentFile() |
|
|
|
|
editor.clearAnnotations() |
|
|
|
|
var currentFile = config.get('currentFile') |
|
|
|
|
if (currentFile) { |
|
|
|
|
if (/.(.sol)$/.exec(currentFile)) { |
|
|
|
|
// only compile *.sol file.
|
|
|
|
|
var target = currentFile |
|
|
|
|
var sources = {} |
|
|
|
|
var provider = fileManager.fileProviderOf(currentFile) |
|
|
|
@ -712,6 +715,7 @@ function run () { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var previousInput = '' |
|
|
|
|
var saveTimeout = null |
|
|
|
@ -764,10 +768,6 @@ function run () { |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
compiler.event.register('compilationStarted', this, function () { |
|
|
|
|
editor.clearAnnotations() |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
function startdebugging (txHash) { |
|
|
|
|
self.event.trigger('debuggingRequested', []) |
|
|
|
|
transactionDebugger.debug(txHash) |
|
|
|
|