Class Debugger
The SadConsole debugger class.
Inherited Members
Namespace: SadConsole.Debug
Assembly: SadConsole.Debug.MonoGame.dll
Syntax
public static class Debugger
Properties
GuiComponents
The ImGui objects to draw each game frame.
Declaration
public static List<ImGuiObjectBase> GuiComponents { get; }
Property Value
Type | Description |
---|---|
List<ImGuiObjectBase> |
IsOpened
True when the debugger is currently opened.
Declaration
public static bool IsOpened { get; }
Property Value
Type | Description |
---|---|
bool |
Renderer
The ImGui renderer.
Declaration
public static ImGuiRenderer Renderer { get; }
Property Value
Type | Description |
---|---|
ImGuiRenderer |
Methods
Start()
Starts the debugger.
Declaration
public static void Start()
Stop()
Stops the debugger.
Declaration
public static void Stop()
Events
Closed
An event that's raised when the debugger is closed.
Declaration
public static event Action Closed
Event Type
Type | Description |
---|---|
Action |
Opened
An event that's raised when the debugger is opened. True is passed if it's the first time it's opened.
Declaration
public static event Action<bool> Opened
Event Type
Type | Description |
---|---|
Action<bool> |