MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / DebugBackend

Interface DebugBackend

packages/core/src/debug/debugController.ts:196–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194 * This is a subset of RuntimeBackend focused on debug operations.
195 */
196export interface DebugBackend {
197 /** Enable debug tracing with the given configuration. */
198 debugEnable(config: DebugConfig): Promise<void>;
199 /** Disable debug tracing. */
200 debugDisable(): Promise<void>;
201 /** Query debug records. Returns headers and query result. */
202 debugQuery(query: DebugQuery): Promise<{ headers: Uint8Array; result: DebugQueryResult }>;
203 /** Get payload for a specific record. */
204 debugGetPayload(recordId: bigint): Promise<Uint8Array | null>;
205 /** Get debug statistics. */
206 debugGetStats(): Promise<DebugStats>;
207 /** Export all debug records to a buffer. */
208 debugExport(): Promise<Uint8Array>;
209 /** Reset (clear) debug records. */
210 debugReset(): Promise<void>;
211}
212
213/**
214 * Null debug backend for when no backend is available.

Callers 20

enableFunction · 0.80
main.tsFile · 0.80
disableFunction · 0.80
queryFunction · 0.80
exportBundleFunction · 0.80
dumpBackendDebugFunction · 0.80
queryFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected