# Debugger

A dedicated debugger is provided as an important tool to complement the state machine modeling process. This section describes its usage.

#### How to Start the Debugger Panel  


Open the debugger panel by selecting **View &gt; State Machine &gt; State Machine Debugger** from the menu bar.

#### How to Use  


After opening the debugger panel, integrate it with the CGI Panel using one of the following methods and perform debugging operations.

1. Start the Player Panel by clicking the **Play selected scenario** button on the toolbar. This launches the CGI Panel.
2. From the menu bar, select **State Machine &gt; Attach...** to connect to a CGI Panel that is already running.

#### Debugger Panel Functionality

<div drawio-diagram="7829"><img src="https://doc316en.candera.eu/uploads/images/drawio/2025-01/drawing-4-1737697473.png" alt=""/></div>

The figure above shows the debugger panel positioned directly below the State Machine Editor panel. See below for a description corresponding to the numbers in the above figure.

<table border="1" id="bkmrk-1-available-states-l" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 5.00397%;"></col><col style="width: 25.4957%;"></col><col style="width: 69.4607%;"></col></colgroup><tbody><tr><td>1</td><td>Available states list</td><td>Actions are logged and listed together with a their associated Node and State or Transition.</td></tr><tr><td>2</td><td>Live/History visualization mode</td><td>Use this button to switch between live (real-time) and history visualization mode.</td></tr><tr><td>3</td><td>Active State</td><td>When the CGI Panel is running and the debugger is attached, the active state of the current State Machine is indicated in the diagram.</td></tr></tbody></table>

This functionality makes the following tasks easier:

- Tracking Transitions
- Verifying the execution order of actions and transitions.
- Debugging State Machine logic