MCPcopy Index your code
hub / github.com/Marus/cortex-debug / GDBServerController

Interface GDBServerController

src/common.ts:362–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360}
361
362export interface GDBServerController extends EventEmitter {
363 portsNeeded: string[];
364 name: string;
365
366 setPorts(ports: { [name: string]: number }): void;
367 setArguments(args: ConfigurationArguments): void;
368
369 customRequest(command: string, response: DebugProtocol.Response, args: any): boolean;
370 initCommands(): string[];
371 launchCommands(): string[];
372 attachCommands(): string[];
373 restartCommands(): string[];
374 allocateRTTPorts(): Promise<void>;
375 swoAndRTTCommands(): string[];
376 serverExecutable(): string;
377 serverArguments(): string[];
378 initMatch(): RegExp;
379 serverLaunchStarted(): void;
380 serverLaunchCompleted(): Promise<void> | void;
381 debuggerLaunchStarted(obj?: GDBDebugSession): void;
382 debuggerLaunchCompleted(): void;
383 rttPoll?(): void;
384 liveGdbInitCommands?(): string[];
385 ctiStopResume?(action: CTIAction): void;
386}
387
388export function genDownloadCommands(config: ConfigurationArguments, preLoadCmds: string[]) {
389 if (Array.isArray(config?.loadFiles)) {

Callers 30

getTCPPortsMethod · 0.65
customRequestMethod · 0.65
resetDeviceMethod · 0.65
settingsChangedMethod · 0.65
debugSessionStartedMethod · 0.65
endChainedConfigsMethod · 0.65
resetOrResartChainedMethod · 0.65
createRTTSourceMethod · 0.65
startGdbForLiveWatchMethod · 0.65

Implementers 9

PEServerControllersrc/pemicro.ts

Calls

no outgoing calls

Tested by

no test coverage detected