display raw stack value in debugger

pull/3094/head
yann300 7 years ago
parent 46e74e003f
commit c027aa1fdb
  1. 11
      src/app/debugger/remix-debugger/src/ui/StackPanel.js

@ -26,19 +26,10 @@ StackPanel.prototype.init = function () {
self.basicPanel.update({})
console.log(error)
} else if (self.parent.currentStepIndex === index) {
self.basicPanel.update(self.format(stack))
self.basicPanel.update(stack)
}
})
})
}
StackPanel.prototype.format = function (stack) {
var ret = []
stack.map(function (item, i) {
var hex = ui.normalizeHex(item)
ret.push(hex)
})
return ret
}
module.exports = StackPanel

Loading…
Cancel
Save