MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / getThreadInfoFromRef

Method getThreadInfoFromRef

src/debug/threads.ts:71–77  ·  view source on GitHub ↗
(ref: VMIsolateRef)

Source from the content-addressed store, hash-verified

69 }
70
71 public getThreadInfoFromRef(ref: VMIsolateRef): ThreadInfo | undefined {
72 for (const thread of this.threads) {
73 if (thread.ref.id === ref.id)
74 return thread;
75 }
76 return undefined;
77 }
78
79 public getThreadInfoFromNumber(num: number): ThreadInfo | undefined {
80 for (const thread of this.threads) {

Callers 4

registerThreadMethod · 0.95
handleIsolateExitMethod · 0.95
handlePauseEventFunction · 0.80
handleInspectEventFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected