|
|
@ -98,8 +98,10 @@ function Debugger (container, sourceHighlighter, localRegistry) { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
Debugger.prototype.debug = function (txHash) { |
|
|
|
Debugger.prototype.debug = function (txHash) { |
|
|
|
var self = this |
|
|
|
var self = this |
|
|
|
|
|
|
|
|
|
|
|
this.debugger.web3.eth.getTransaction(txHash, function (error, tx) { |
|
|
|
this.debugger.web3.eth.getTransaction(txHash, function (error, tx) { |
|
|
|
if (!error) { |
|
|
|
if (!error) { |
|
|
|
|
|
|
|
self.debugger_ui.txBrowser.event.trigger('newTraceRequested', [undefined, undefined, tx]) |
|
|
|
self.debugger.debug(tx) |
|
|
|
self.debugger.debug(tx) |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|