MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / runCommand

Method runCommand

src/utils/debugger/debugger-manager.ts:202–211  ·  view source on GitHub ↗
(
    id: string | undefined,
    command: string,
    opts?: { timeoutMs?: number },
  )

Source from the content-addressed store, hash-verified

200 }
201
202 async runCommand(
203 id: string | undefined,
204 command: string,
205 opts?: { timeoutMs?: number },
206 ): Promise<string> {
207 const session = this.requireSession(id);
208 const result = await session.backend.runCommand(command, opts);
209 this.touch(session.info.id);
210 return result;
211 }
212
213 async resumeSession(id?: string, opts?: { threadId?: number }): Promise<void> {
214 const session = this.requireSession(id);

Callers

nothing calls this directly

Calls 3

requireSessionMethod · 0.95
touchMethod · 0.95
runCommandMethod · 0.65

Tested by

no test coverage detected