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

Method getHyperTrace

www/js/_hyperscript.js:2901–2910  ·  view source on GitHub ↗
(ctx, thrown)

Source from the content-addressed store, hash-verified

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

Callers 1

executeMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected