MCPcopy Create free account
hub / github.com/bigskysoftware/_hyperscript / getHyperTrace

Method getHyperTrace

www/js/_hyperscript.esm.js:2899–2908  ·  view source on GitHub ↗
(ctx, thrown)

Source from the content-addressed store, hash-verified

2897 // Debug and tracing
2898 // =================================================================
2899 getHyperTrace(ctx, thrown) {
2900 var trace = [];
2901 var root = ctx;
2902 while (root.meta.caller) {
2903 root = root.meta.caller;
2904 }
2905 if (root.meta.traceMap) {
2906 return root.meta.traceMap.get(thrown, trace);
2907 }
2908 }
2909 registerHyperTrace(ctx, thrown) {
2910 var trace = [];
2911 var root = null;

Callers 1

executeMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected