The Debugger Menu (Magic xpi 3.x)
You access the Debugger tools from the Debugger menu in the Magic xpi Studio. The Debugger menu has these three options:
|
|
|
|
|
Open
|
Shift+F7
|
Opens a project on the local machine and starts the debug session (Open mode). An ibp file is created, which overwrites the existing project ibp file.
|
|
Attach to Server
|
|
Opens the Attach to Server dialog box, which lets you attach to a running Server and starts the debug session (Attach to Server mode).
|
|
Settings
|
|
Opens the Debugger Settings dialog box where you define the refresh rate timeout and other debugging options.
|
The Debug mode options are described in the table below. You can select these options from the Debugger menu. The options are enabled depending on the status of the Debug process. Some Debug options can be executed from the toolbar. The Debug buttons are only available in Debug mode.
|
|
|
|
|
Close/Detach from Server
|
|
Close: Terminates and exits the Debug session.
Detach from Server: Available in Attach mode. Detach from Server terminates the debug session but does not stop the Server. It only changes its mode to regular running mode.
|
|
Run
|
|
Runs in automatic mode until a breakpoint or the end of a flow is reached. This option is available in Open mode.
|
|
Continue
|
|
Continues the execution of all threads after a break. This option is available when the project is in Break mode.
|
|
Restart
|
|
Restarts the project. This option is available in Open mode. This option immediately stops all the active contexts in the project, clears all the relevant data/tables, and restarts the Server and the requested project. This uses the Stop project time-out and Clean recovery Debugger Settings.
|
|
Break
|
|
Stops the server execution immediately after step completion in each context. This option is available in Open mode.
|
|
Step
|
F10
|
Executes one step in the active debug context. This is selected from the Context Tree. This option is available only if the project is in Stopped mode.
|
|
Step-in
|
|
This option is currently not supported.
|
|
Stop Context
|
|
Stops the context execution.
You can do this by parking on the specific context and selecting this option from the menu or from the relevant context menu. However, once you stop the context, you cannot continue running the context later on. If you stop a context, all its parallel child contexts will also be stopped.
|
|
Stop
|
|
Stops the project. Available in Open mode.
|
|
Clear all Breakpoints
|
|
Removes all the breakpoints.
|
|
Clear all Suspends
|
|
Removes all steps from the Suspended List.
|
|
Breakpoints and Suspended List
|
Ctrl+5
|
Displays the Breakpoints and Suspended List.
|
|
Activity Log
|
Ctrl+2
|
Displays the information regarding all the activities in the project. The Activity Log is similar to the one in the Monitor.
|
|
Scheduler
|
Ctrl+3
|
Allows you to see the upcoming events schedule when you reach a breakpoint in the flow, based on your Scheduler table.
|
|
Context View
|
Ctrl+4
|
Opens the Context View dialog box for the currently selected step. See: Context View
|
|
Context Complete
|
|
Tells the Server that a specific context can be completed according to the Server rules. This is used in conjunction with the Debugger Settings dialog box's End Context After Last Step check box. Click here for more information.
|
|
Settings
|
|
Opens the Debugger Settings dialog box.
|
Right-clicking on a step in Debug mode gives you the following options:
|
|
Properties
|
Examine the step's properties in read-only mode.
|
Breakpoint
|
Set the Breakpoint for this step.
|
Suspend Step
|
Add the step to the Suspended List.
|
The Debugger screen is similar to the Studio screen. The main area shows a graphical view of the topologies, business processes, or flows in your project. The left pane is divided into two tabs: Navigation and Context Tree.
Debugger Flow View
Step Context View