MCPcopy Index your code
hub / github.com/nodejs/node / testWrapper

Function testWrapper

deps/v8/test/debugger/debug/wasm/exception-muting.js:41–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39}
40
41function testWrapper() {
42 print('Running a().');
43 try {
44 instance.exports.a();
45 print('Exited normally???');
46 error = new Error('Function should exit with Wasm trap');
47 } catch(e) {
48 print('Exception thrown');
49 }
50 print('Returned from wasm.');
51}
52
53Debug.setBreakOnException();
54Debug.setListener(onBreak);

Callers 1

Calls 2

printFunction · 0.50
aMethod · 0.45

Tested by

no test coverage detected