git ssb

0+

wanderer🌟 / js-primea-hypervisor



Tree: 63c9d288b4797cd12ec12e080e84ed2559b14e63

Files: 63c9d288b4797cd12ec12e080e84ed2559b14e63 / debugInterface.js

335 bytesRaw
1/**
2 * Debug Interface
3 * This expose some functions that can help with debugging wast
4 */
5const Interface = require('./interface.js')
6let MOD
7
8module.exports = class DebugInterface extends Interface {
9 debugPrint (a, b) {
10 console.log(a)
11 }
12
13 memPrint () {
14 console.log((new Uint8Array(MOD.exports.memory)).toString())
15 }
16}
17

Built with git-ssb-web