Use the Debugger
The debugging components of Enterprise Architect comprise the Debug window and a series of subordinate debugger windows, which you can display either from the Debug window or separately using the View | Debug & Profile menu option. You can then dock and combine the windows to suit your working requirements.
You use the debugger windows in conjunction with the Source Code viewer, in which the code being debugged is displayed.
To display the Debug window, either press [Alt]+[8] or select the View | Debug & Profile | Debugger menu option.

The second toolbar icon (the blue arrow) is the Run debugger button; if at least one script has been configured for the currently selected package (as identified in the Scripts folder), this button is enabled. If a script has not been created or is incomplete, all buttons are disabled and debugging remains unavailable.
As Build Scripts are linked to a package, selecting another package in the Project Browser also changes the active Build Script and, naturally, the target to be debugged.
Breakpoints are recorded against the package also, and these update depending on which package is selected. You should set and enable breakpoints before starting the debugger.
Start The Debugger
To start debugging click on the Run button or press [F6].
The figure below shows the Source Code window for a .NET application written in C#, where the debugger has been invoked.

The blue arrow and pink highlight indicate the line of execution, halted at a breakpoint.
When the debugger is at a breakpoint the other information is presented in the various windows related to the Debug window. For example, the Stack window displays the stack frames for any thread at a breakpoint, and the Locals window displays any variables within the scope of the thread's current stack frame.
Stop the Debugger
To stop debugging click on the Stop button
in the Debug window toolbar, or press [Ctrl]+[Alt]+[F6].
Notes: |
In most situations, the debugger ends:
However, due to the nature of the Java Virtual Machine, it is necessary at times for Java developers to stop the debugger manually with the Stop button. |