Breakpoints

You use breakpoints for debugging purposes; they are markers that you can place in the code to identify a stopping or pausing place in the application. By using breakpoints, you can move through the application while it runs to see what is happening at each point and to determine whether the application works as expected.

In IBM® Rational® Software Architect RealTime Edition, you can use two types of breakpoints: UML breakpoints and source breakpoints. You set UML breakpoints on the UML elements in a model, and you can set them on operations, entry or exit in states, or guards or effects on transitions. When you build the model project, the UML breakpoints are mapped to source-level line breakpoints in the target project. These source breakpoints are set at appropriate places in the generated source, typically at the first line of the generated function that represents the UML element on which you set the breakpoint in the model.

As the following figures illustrate, breakpoints are displayed as small circle icons on the model element in the diagram editor, or on code in the Code view.

""
""

You can review a list of the breakpoints in the Breakpoints view. The following figure shows a list of UML breakpoints and source breakpoints that are grouped by type.

""

Feedback