Skip to main content

Debugger

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

ActivationHow to start the Debugger panel

The debugger panel canis bedisplayed activatedby fromselecting the[ View-View > State Machine-Machine > State Machine Debugger menu.] from the menu bar.

UsageHow to use

The debugger works togetherwith withPlayer in one of the following ways.

    Start the Player eitherPanel byusing startingthe [ Play selected scenario ] button on the toolbar to display the Player withPanel and run the PlayPlayer.
    button fromFrom the toolbarmenu orbar, attachingselect [ State Machine > Attach... ] to anconnect to a Player Panel that is already runningrunning. Player using

    Debugger Panel Functionality

    drawing-4-1737697473.png

    The figure above shows the StateMachine->Attachdebugger menupanel item.displayed directly below the State Machine Editor panel. See below for a description corresponding to the numbers in the above figure.

    Available

    statesStates are presenteddisplayed in a list or a tree whereformat, showing the node association isof visible.each node.
    Events, transitionsTransitions, and actionsActions arecan presentedbe viewed in livereal-time or history mode.

    Having

    When the Player is running and the debugger active,is enabled, the active stateState of the currentcurrently active stateState machineMachine is highlighted in the editor with a blinking effect.light in the diagram.

    This makes itthe veryfollowing easytasks toeasier.

    follow
    transitions,Tracking checkTransitions
    executionChecking the order ofin which actions and transitionsTransitions andare debugexecuted
    theDebugging State Machine logic of the state machine.
    drawing-5-1725613637.png