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

Method getHyperTrace

tools/common/_hyperscript.iife.js:2850–2859  ·  view source on GitHub ↗
(ctx, thrown)

Source from the content-addressed store, hash-verified

2848 // Debug and tracing
2849 // =================================================================
2850 getHyperTrace(ctx, thrown) {
2851 var trace = [];
2852 var root = ctx;
2853 while (root.meta.caller) {
2854 root = root.meta.caller;
2855 }
2856 if (root.meta.traceMap) {
2857 return root.meta.traceMap.get(thrown, trace);
2858 }
2859 }
2860 registerHyperTrace(ctx, thrown) {
2861 var trace = [];
2862 var root = null;

Callers 1

executeMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected