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

Method step

agent/debugger.ts:64–83  ·  view source on GitHub ↗
(count = 1)

Source from the content-addressed store, hash-verified

62 private disposed = false;
63
64 step(count = 1): void {
65 const session = this.getSession(this.currentThreadId);
66 if (session === null) {
67 return;
68 }
69
70 if (!session.paused) {
71 log(`[stalker] thread ${session.threadId} is not paused yet`);
72 return;
73 }
74
75 const stepCount = this.normalizeCount(count, 1);
76 session.runMode = "count";
77 session.pendingSteps = stepCount;
78 session.baseLr = null;
79 session.targetLr = null;
80 session.targetPc = null;
81 log(`[stalker] step thread ${session.threadId} count=${stepCount}`, "green");
82 session.semaphore.post();
83 }
84
85 stepIn(): void {
86 const session = this.getPausedSession();

Callers 3

stepInMethod · 0.95
nextMethod · 0.95
index.tsFile · 0.80

Calls 4

getSessionMethod · 0.95
normalizeCountMethod · 0.95
logFunction · 0.85
postMethod · 0.80

Tested by

no test coverage detected