(count = 1)
| 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(); |
no test coverage detected