MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / IDebuggingDelegate

Interface IDebuggingDelegate

src/notebooks/debugger/debuggingTypes.ts:96–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96export interface IDebuggingDelegate {
97 /**
98 * Called for every event sent from the debug adapter to the client. Returns true to signal that sending the message is vetoed.
99 */
100 willSendEvent?(msg: DebugProtocol.Event): Promise<boolean>;
101
102 /**
103 * Called for every request sent from the client to the debug adapter. Returns true to signal that the request was handled by the delegate.
104 */
105 willSendRequest?(request: DebugProtocol.Request): undefined | Promise<DebugProtocol.Response | undefined>;
106
107 /**
108 * Called for every response returned from the debug adapter to the client.
109 */
110 willSendResponse?(request: DebugProtocol.Response): Promise<void>;
111}
112
113export interface IDumpCellResponse {
114 sourcePath: string; // filename for the dumped source

Callers 3

onIOPubMessageFunction · 0.65
handleClientMessageAsyncFunction · 0.65

Implementers 6

RestartControllersrc/notebooks/debugger/controllers/res
DebugCellControllersrc/notebooks/debugger/controllers/deb
RunByLineControllersrc/notebooks/debugger/controllers/run
ResetKernelControllersrc/notebooks/debugger/controllers/res
DebugCellControllersrc/interactive-window/debugger/jupyte
RestartNotSupportedControllersrc/interactive-window/debugger/jupyte

Calls

no outgoing calls

Tested by

no test coverage detected