MCPcopy Create free account
hub / github.com/axhlzy/FridaDebugger / getSession

Method getSession

agent/debugger.ts:570–583  ·  view source on GitHub ↗
(threadId: ThreadId | null)

Source from the content-addressed store, hash-verified

568 }
569
570 private getSession(threadId: ThreadId | null): StalkerSession | null {
571 if (threadId === null) {
572 log("[stalker] no current session", "yellow");
573 return null;
574 }
575
576 const session = this.sessions.get(threadId);
577 if (session === undefined) {
578 log(`[stalker] no session for thread ${threadId}`, "yellow");
579 return null;
580 }
581
582 return session;
583 }
584
585 private getPausedSession(): StalkerSession | null {
586 const session = this.getSession(this.currentThreadId);

Callers 4

stepMethod · 0.95
continueMethod · 0.95
getPausedSessionMethod · 0.95
getRegisterValueMethod · 0.95

Calls 1

logFunction · 0.85

Tested by

no test coverage detected