For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /debug-utilities/classes/DiagnosticsView.md.

Class: DiagnosticsView experimental

Beta

Represents a registered diagnostics view that can receive stat data to display in the live diagnostics panel in the debugger.

Methods

pushStats()

pushStats(stats): void

Beta

Parameters

stats

DiagnosticsStat[]

An array of DiagnosticsStat objects containing the stat names and values to display.

Returns

void

Remarks

Pushes a new set of stats to this diagnostics view to be displayed.

Throws

This function can throw errors.

DiagnosticsError