You can set a Breakpoint on a State in the Graph View. Right-click on a State and click Toggle Breakpoint.
Breakpoints cause execution to pause when that state is entered. Breakpoints can be enabled/disabled from the Debug Menu.
NOTE: The break happens BEFORE any actions are executed on that state, so you can examine the state of the game as you enter the new state.
Press Pause to continue execution.
Normal State (no breakpoint):
State with breakpoint:
State with breakpoint and breakpoints disabled:
There are 2 ways to set breakpoints on states:
- Right click on the state and select Toggle Breakpoint from the State Context Menu.
- Select the state and select Toggle Breakpoint from the State Editing Tools.
You can either toggle individual states off as described above, or clear all breakpoints using the Debug Menu.