Class: DiagnosticsManager experimental
Beta
Manages data, display tabs and views used by the Minecraft Bedrock Debugger VS Code extension for live diagnostics.
Properties
tabs
readonlytabs:DiagnosticsTab[]
Beta
Remarks
The list of currently registered diagnostic tabs (constrained to this pack).
Methods
addTab()
addTab(
tab):void
Beta
Parameters
tab
The DiagnosticsTab instance to add to the display.
Returns
void
Remarks
Adds an existing DiagnosticsTab instance to the live diagnostics display in the debugger
containsTab()
containsTab(
tab):boolean
Beta
Parameters
tab
Returns
boolean
Remarks
Returns whether the given tab is currently registered and used in the live diagnostics display.
containsView()
containsView(
view):boolean
Beta
Parameters
view
Returns
boolean
Remarks
Returns whether the given view is currently registered and used by any tab in the live diagnostics display.
createTab()
createTab(
tabName):DiagnosticsTab
Beta
Parameters
tabName
string
The name of the tab for creation and display.
Returns
Remarks
Creates a new DiagnosticsTab and adds it to the live diagnostics display in the debugger
Throws
This function can throw errors.
createView()
createView(
statName,options?):DiagnosticsView
Beta
Parameters
statName
string
The name of the stats data for creation and display.
options?
DiagnosticsChartViewOptions | DiagnosticsTableViewOptions
An optional set of either chart or table options to be used for modifying the display.
Returns
The newly created DiagnosticsView instance.
Remarks
Creates a new DiagnosticsView. This view will not be added to the live diagnostics display automatically, please use DiagnosticsTab.addView to do so.
Throws
This function can throw errors.
removeTab()
removeTab(
tab):void
Beta
Parameters
tab
Returns
void
Remarks
Removes a previously registered tab from the live diagnostics display in the debugger
