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

Method getHyperTrace

www/js/_hyperscript-max.js:2900–2909  ·  view source on GitHub ↗
(ctx, thrown)

Source from the content-addressed store, hash-verified

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

Callers 1

executeMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected