Setting state chart breakpoints

Within a state chart you can set breakpoints on state events or transitions. After a state chart breakpoint is hit, the simulation pauses, allowing you to single step through the state chart.

You can also add Watch windows to view variables. When you do so, the active state is highlighted.