MCPcopy Create free account
hub / github.com/WebFreak001/code-debug / IBackend

Interface IBackend

src/backend/backend.ts:57–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57export interface IBackend {
58 load(cwd: string, target: string, procArgs: string, separateConsole: string, autorun: string[]): Thenable<any>;
59 ssh(args: SSHArguments, cwd: string, target: string, procArgs: string, separateConsole: string, attach: boolean, autorun: string[]): Thenable<any>;
60 attach(cwd: string, executable: string, target: string, autorun: string[]): Thenable<any>;
61 connect(cwd: string, executable: string, target: string, autorun: string[]): Thenable<any>;
62 start(runToStart: boolean): Thenable<boolean>;
63 stop();
64 detach();
65 interrupt(): Thenable<boolean>;
66 continue(): Thenable<boolean>;
67 next(): Thenable<boolean>;
68 step(): Thenable<boolean>;
69 stepOut(): Thenable<boolean>;
70 loadBreakPoints(breakpoints: Breakpoint[]): Thenable<[boolean, Breakpoint][]>;
71 addBreakPoint(breakpoint: Breakpoint): Thenable<[boolean, Breakpoint]>;
72 removeBreakPoint(breakpoint: Breakpoint): Thenable<boolean>;
73 clearBreakPoints(source?: string): Thenable<any>;
74 getThreads(): Thenable<Thread[]>;
75 getStack(startFrame: number, maxLevels: number, thread: number): Thenable<Stack[]>;
76 getStackVariables(thread: number, frame: number): Thenable<Variable[]>;
77 evalExpression(name: string, thread: number, frame: number): Thenable<any>;
78 isReady(): boolean;
79 changeVariable(name: string, rawValue: string): Thenable<any>;
80 examineMemory(from: number, to: number): Thenable<any>;
81}
82
83export class VariableObject {
84 name: string;

Callers 33

launchRequestMethod · 0.65
launchRequestMethod · 0.65
launchRequestMethod · 0.65
launchRequestMethod · 0.65
attachRequestMethod · 0.65
launchRequestMethod · 0.65
attachRequestMethod · 0.65
attachRequestMethod · 0.65
attachRequestMethod · 0.65
attachRequestMethod · 0.65
sshMethod · 0.65

Implementers 1

MI2src/backend/mi2/mi2.ts

Calls

no outgoing calls

Tested by

no test coverage detected