Setting breakpoints on elements in UML development models

You can debug an application at a higher level of abstraction by setting breakpoints on UML elements in a model. You can set breakpoints on operations, states, or transitions; however, these UML elements must have user-defined code associated with them.

Before you begin

Before you can set a breakpoint on a model element, the corresponding diagram must be open in the UML Development perspective, and the element must have associated user-entered code.

About this task

To set a breakpoint on a model element, complete one of the following steps:

Results

A small circle icon is displayed on the model element that contains the breakpoint, and the breakpoint is listed in the Breakpoints view.
Tip: To disable a breakpoint, right-click the element; then click Debug > Disable Breakpoint.
Note: If you set breakpoints in a model that was already built into target code, toggling or disabling a breakpoint in the model toggles or disables the corresponding source breakpoint in the code.

Feedback