|
|
@ -160,11 +160,9 @@ class VmDebuggerLogic { |
|
|
|
this.traceLength = 0 |
|
|
|
this.traceLength = 0 |
|
|
|
|
|
|
|
|
|
|
|
this.debugger.event.register('newTraceLoaded', (length) => { |
|
|
|
this.debugger.event.register('newTraceLoaded', (length) => { |
|
|
|
this._traceManager.getAddresses((error, addresses) => { |
|
|
|
const addresses = this._traceManager.getAddresses() |
|
|
|
if (error) return |
|
|
|
this.event.trigger('traceAddressesUpdate', [addresses]) |
|
|
|
this.event.trigger('traceAddressesUpdate', [addresses]) |
|
|
|
this.addresses = addresses |
|
|
|
this.addresses = addresses |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this._traceManager.getLength((error, length) => { |
|
|
|
this._traceManager.getLength((error, length) => { |
|
|
|
if (error) return |
|
|
|
if (error) return |
|
|
|