Skip to main content

Debugger

A dedicated debugger is provided as an important tool to complement the state machine modeling process. This section explains how to use it.

How to start the Debugger panel

The debugger panel is displayed by selecting [ View > State Machine > State Machine Debugger ] from the menu bar.

How to use

The debugger works with PlayerCGI Panel in one of the following ways.

  1. Start the Player Panel using the [ Play selected scenario ] button on the toolbar to display the Player Panel and run the Player.CGI Panel.
  2. From the menu bar, select [ State Machine > Attach... ] to connect to a PlayerCGI Panel that is already running.

Debugger Panel Functionality

drawing-4-1737697473.png

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

  1. States are displayed in a list or tree format, showing the association of each node.
  2. Events, Transitions, and Actions can be viewed in real-time or history mode.
  3. When the Player is running and the debugger is enabled, the State of the currently active State Machine is highlighted with a blinking light in the diagram.

This makes the following tasks easier.

  • Tracking Transitions
  • Checking the order in which actions and Transitions are executed
  • Debugging State Machine logic