view allows you
manage the debugging or running of a Java program your model
actually is. It displays the stack frame for the suspended threads for
each target you are debugging. Each thread in your program appears as a
node in the tree. It displays the process for each target you are
If the thread is suspended, its stack frames are shown as child elements.
The Debug view
To show/hide the Debug view
Choose View > Debug from the main menu.
When a thread is suspended, the step controls can be used to step through the execution of the program line-by-line. If a breakpoint is encountered while performing a step operation, the execution will suspend at the breakpoint and the step operation is ended.
The Debug view provides a set of toolbar buttons for stepping through the execution of the currently debugged model.
Remove All Terminated Launches
|The Debug view is cleared of all terminated launches|
The thread resumes its execution and stack frames are no longer displayed for the thread. The Variables view is also cleared.
|Suspends the selected thread of a target so that you can browse or modify code, inspect data, step, and so on.|
Terminates the selected debug target.
Disconnects the debugger from the selected debug target when debugging remotely.
The next expression on the currently selected line to be executed is invoked, and execution suspends at the next executable line in the function that is invoked.
The currently selected line is executed and suspends on the next executable line.
Execution resumes until the next return statement in the current function is executed, and execution suspends on the next executable line.
Drop to Frame
command lets you drop back and reenter a specified stack frame. This
feature is similar to "running backwards" and restarting your program
Use Step Filter
Toggles step filters on/off. When on, all step functions apply step filters.
Opening and closing views
Minimizing and maximizing views
Docking and undocking views
Grouping and ungrouping views