Setting state chart breakpoints

Within a state chart you can set breakpoints on state events and transitions. After a state chart breakpoint is encountered, 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.