Stateflow |
 |
Run-Time Debugging
Once the target is built with the debugging code, you can enable or disable the associated run-time options in the Debugger window, which affects the Debugger output display results. Enabling/disabling the options in the Debugger window affects the target code and can cause the target to be rebuilt when you start the simulation from the debugger.
There are also some run-time debugging options that do not require supporting code in the target. These options can be dynamically set:
- Enable/disable cycle detection in the Debugger window.
- Set any of the following global breakpoints through the Breakpoints section of the main Debugger window (see Breakpoint Controls):
- Any chart entry
- Any event broadcast
- Any state entry
- Enable/disable local Debugger breakpoints at specific chart or state action execution points in these property dialog boxes:
- Enable/disable local Debugger breakpoints at a specific transition (either when the transition is tested or when it is determined to be valid) in the Transition property dialog box (see Changing Transition Properties).
- Enable/disable local Debugger breakpoints based on a specific event broadcast (see Setting Event Properties).
| Breakpoints | | Stateflow Debugger User Interface |  |