Debugging Statecharts (Statechart Module)
- Updated2023-02-21
- 1 minute(s) read
Debugging Statecharts (Statechart Module)
To debug a statechart for which you have generated code, right-click a Run Statechart function and select Debug Statechart. You only can debug a statechart when you have linked the Run Statechart function to a statechart.
![]() |
Note If you do not see the Debug Statechart option, you might have disabled statechart debugging. You must re-enable debugging and re-generate the code before proceeding. |
Debugging a statechart is available for statecharts that execute on the desktop, on a LabVIEW real-time target, or on a LabVIEW FPGA target running on the host computer.
While debugging a statechart, you can perform the following actions:
- Set breakpoints.
- Highlight statechart execution.
- Single-step through a statechart.
- Watch statechart data.
|
(Windows) To view related topics, click the Locate button, shown at left, in the toolbar at the top of this window. The LabVIEW Help highlights this topic in the Contents tab so you can navigate the related topics. |