Salesforce

The Debug Menu (Magic xpi 4.7)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

The Debug Menu (Magic xpi 4.7)

You access the Debugger tools from the Debug xpi menu in the Magic xpi Studio. The Debug xpi menu has the following options:

Button

Option

Shortcut

Description

Windows

Breakpoints and Suspends: Opens the Breakpoints and Suspends pane.

Output: Opens the Output pane that displays the results of the Debug process.

Start Debugging

F5

Runs the Debugger.

Attach to Project

Opens the Attach to Project dialog box, which lets you start the debug session in Attach to Project mode.

Toggle Breakpoint

F9

Adds or removes a breakpoint from the current step.

If a breakpoint does not exist on this step, a breakpoint will be created.

If a breakpoint exists and is currently enabled, it will be deleted.

Project Settings

Opens the Debugger Settings dialog box where you define the refresh rate timeout and other debugging options.

Settings

Opens the Options dialog box, taking you directly to the Magic xpi Debugger section's General settings. Here, you can configure the Debugger's timeout settings to work in an optimal way with a specific project.

The Debug mode options are described in the table below. You can select these options from the Debug xpi 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.

Button

Option

Shortcut

Description

Windows

Close: Terminates and exits the Debug session.

Detach from Server: Available in Attach to Project mode. Detach from Server terminates the debug session but does not stop the Server. It only changes its mode to regular running mode.

Continue

F5

Continues the execution of all threads after a break. This option is available when the project is in Break mode.

Restart

Ctrl+Shift+F5

Restarts the project. 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.

This option is not available in Attach to Project mode.

Break All

Stops the server execution immediately after step completion in each context. This option is not available in Attach to Project 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.

Stop Debugging

Shift+F5

Stops the debugging process.

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

Settings

Opens the Debugger Settings dialog box.

Right-clicking on a step in Debug mode gives you the following options:

Option

Description

Properties

Examine the step's properties in read-only mode.

Breakpoint

Set a breakpoint for this step.

Suspend Step

Set a suspend for this step.

The Debugger screen is similar to the Studio screen. The main area shows a graphical view of the business processes or flows in your project. The left pane is divided into two tabs: Navigation and Context Tree.

Related Topics

Reference
Attachment 
Attachment