Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WBRIDGE and version 7.6.0
Div
Classe2e-refDiv

Otp
Floatingfalse

Rp

Having navigated to the action that is to be inspected, open the context menu of the concerning action.

...

Select Add Breakpoint to add a breakpoint and Remove Breakpoint to remove one.

Noteinfo
iconfalse
For the setting of To set a breakpoints it is not relevant whether the service is running or not.

Image Modified

The action node of an action having an active breakpoint is surrounded by a dark frame to indicate the breakpoint.

To get an overview on all breakpoints defined open the Breakpoint Manager window by clicking  in the Debug tab.

Image Modified

All breakpoints of the UML model are listed and can be deactivated or reactivated by selecting the corresponding checkbox. Click OK to close the dialog.

Image Modified

The action node of an action having an inactive breakpoint is surrounded by a light frame to indicate that the breakpoint is deselected.

Image Modified

To delete all breakpoints of the UML model select Delete All Breakpoints.

Image Modified

If the

E2E

xUML Runtime stopped service execution on a breakpoint the corresponding activity diagram opens and the breakpoint halted on is indicated by a yellow frame.
If the UML model of the service is not open in MagicDraw, the corresponding XML file will be opened as well.

Noteinfo
iconfalse

Breakpoints may be set on all executable UML elements (such as action nodes, guards, call operation actions, ...) and on initial nodes. Breakpoints may not be set on parameters and objects, action flows, ... and on final nodes.

...

If an exceptions is thrown during model execution in debug mode, the E2E Interactive Debugger stops at that point and creates an exception breakpoint.

Image Modified

The topmost tree node shaded in red indicates, that the Interactive Debugger stopped on an exception. The exception details are displayed.

Image Modified

The automatically created exception breakpoint can be viewed in the Exception Breakpoints tab of the Breakpoint Manager.

Image Modified

Next time this exception occurs, the Interactive Debugger will indicate the UML element that caused the exception (which is in this example a manually thrown exception).

To proceed with model execution click Image Modified in the Debug tab.

Multiexcerpt include
MultiExcerptNamethrowError
nopaneltrue
PageWithExcerptINTERNAL:_examples_BRIDGE

...

In the service preferences of xUML services running on the E2E Bridge, it is possible to set the flag Dump Context on Error. Each time the xUML service throws an exception, actual call stack and data is logged in a trace file.

These dump informations information can be viewed with the E2E Interactive Debugger as a sort of exception breakpoint snapshot.

Image Modified

Select Load Dump File or Load Dump File from URL from the context menu of the service deployment.

Image Modified

Select the error dump file to display from the Bridge data directory and click OK ...

Image Modified

... or copy the dump file URL from the

E2E

Bridge, provide your credentials and click OK.

For more information on where to find the error dumps on

an E2E

a Bridge, refer to xUML Service Dump.

The Embedded xUML Runtime window opens and shows an additional tab displaying the error dump information. The exception details can be inspected as described in section Exception Breakpoints and in Inspecting the Callstack. The erroneous action script statement is marked in red.

Figure: View Error Dump with E2E Interactive Debugger

Image Removed

Image Added

Additionally, the Debugger shows the UML element where the error occurred:

Image AddedThe dump file tab can be closed using the X.