MCPcopy Create free account
hub / github.com/Marus/cortex-debug / broadcastDFS

Method broadcastDFS

src/frontend/cortex_debug_session.ts:45–48  ·  view source on GitHub ↗
(cb: (s: CDebugSession) => void, fromRoot: boolean = true)

Source from the content-addressed store, hash-verified

43 }
44
45 public broadcastDFS(cb: (s: CDebugSession) => void, fromRoot: boolean = true) {
46 const root = fromRoot ? this.getRoot() : this;
47 root._broadcastDFS(cb);
48 }
49
50 protected _broadcastDFS(cb: (s: CDebugSession) => void) {
51 for (const child of this.children) {

Callers 3

stopAllMethod · 0.95
endChainedConfigsMethod · 0.80
resetOrResartChainedMethod · 0.80

Calls 2

getRootMethod · 0.95
_broadcastDFSMethod · 0.80

Tested by

no test coverage detected