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

Function g

deps/v8/test/debugger/debug/es6/debug-exception-generators.js:25–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23
24
25function* g() {
26 try {
27 throw "a"; // Ordinary throw. Exception a
28 } catch (e) {}
29 try {
30 yield 1; // Caught internally. Exception b
31 } catch (e) {}
32 yield 2;
33 yield 3; // Caught externally. Exception c
34 yield 4;
35}
36
37Debug.setListener(listener);
38Debug.setBreakOnException();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected