Stateflow    

Stateflow Debugger User Interface

This section contains the following topics:

Debugger Main Window

Before you begin debugging, select Debug from the Tools menu to receive the Debugger main window, which appears as shown:

After you select the Start button to start a debugging simulation session and a breakpoint that you set is encountered, the Debugger main window appears like the following:

Status Display Area

Once a debugging session is in progress and a breakpoint is encountered, the following status items are displayed in the upper portion of the Debugger window:

Breakpoint Controls

Use the Breakpoint controls to specify global breakpoints. When a global breakpoint is encountered during simulation, execution stops and the Debugger takes control. Select any or all of the following breakpoints:

These breakpoints can be changed during run-time and are immediately enforced. When you save a Stateflow diagram, the breakpoint settings are saved with it.

Debugger Action Control Buttons

Use these buttons when debugging a Stateflow machine to control the Debugger's actions:


  Run-Time Debugging Error Checking Options