Commit 29003849d596ca5f1379096bd408c4c1f82c460f
stackTrace -> evmStackTrace
wanderer committed on 8/5/2016, 5:43:44 PMParent: ab4bcb92ec8d9a3fcaf593891c8069812603e70f
Files changed
debugInterface.js | changed |
debugInterface.js | ||
---|---|---|
@@ -20,17 +20,17 @@ | ||
20 | 20 | } |
21 | 21 | |
22 | 22 | get exportTable () { |
23 | 23 | return { |
24 | - 'print': function (offset = 0, length = 100) { | |
24 | + 'print': function (offset, length) { | |
25 | 25 | console.log(`<DEBUG(str): ${Uint8ArrayToString(new Uint8Array(this.module.exports.memory, offset, length))}>`) |
26 | 26 | }.bind(this), |
27 | 27 | |
28 | - 'printHex': function (offset = 0, length = 100) { | |
28 | + 'printHex': function (offset, length) { | |
29 | 29 | console.log(`<DEBUG(hex): ${Uint8ArrayToHexString(new Uint8Array(this.module.exports.memory, offset, length))}>`) |
30 | 30 | }.bind(this), |
31 | 31 | |
32 | - 'stackTrace': function (sp, op) { | |
32 | + 'evmStackTrace': function (sp, op) { | |
33 | 33 | const opcode = opcodes(op) |
34 | 34 | if (opcode.number) { |
35 | 35 | opcode.name += opcode.number |
36 | 36 | } |
Built with git-ssb-web