Previous Topic: Supported Conditions Statements on a Line BreakpointNext Topic: Enable a Method Breakpoint


Add a Method Breakpoint

You can add a method breakpoint to stop application execution when entering an Action Diagram or Event Action. After you have added one or more method breakpoints, you can enable, disable, or remove them just like you can enable, disable, and remove line breakpoints.

Follow these steps:

Perform one of the following steps:

A breakpoint appears in the Breakpoints view. A breakpoint marker also appears in the vertical ruler at the first source line in the file's PAD Code View editor for the selected Action Diagram or Event Action.

Note: When you add a method breakpoint, it is enabled by default.

While the breakpoint is enabled, the Diagram Trace Utility suspends program execution when it enters an Action Diagram or Event Action, before any line in the method is executed.

You can also modify the breakpoint properties to suspend the execution upon exiting a method (that is, before leaving an Action Diagram or an Event Action).