Running a Debug Session

Following are the two ways to initiate debugging:

Before you initiate a debug session for an AB Suite application, select the configuration. The top-level folder must be deployable within this configuration.

Note: It is not necessary to use a separate configuration defined specifically for Debugger. You can use any host platform configuration.

To initiate a debug session for an AB Suite application, you must first select an element that you want to debug, and then click Start from the toolbar, or press F5 or F11, or right-click the element and click Debug:

Default Configuration Settings

Following are the default configuration settings for the model element. However, you can modify the following default settings on the Configuration Properties dialog box if you want to do so.

To know more about Configuration Settings, refer to Debugger Configuration Properties.

If the Reorganize Database property is set to No, the debug session is started without reorganizing the database. Refer to Logical Reorganization for more information on debug session behavior when the database is not reorganized.

To run a debug session

Once started, a debug session can be controlled using the commands listed in the following table, which are available from the Debug menu or toolbar.

Command

Description

Break All

Halts logic execution before interpreting the next logic statement.

Stop Debugging

Terminates the debug session.

Continue

Resumes logic execution.

Step Into

Interprets the next logic statement, or enters a method call in the statement, before stopping logic execution.

Step Over

Interprets the next logic statement, including logic in any methods called by that logic statement, before stopping logic execution.

Step Out

Interprets logic until the current method returns, before stopping logic execution.

Run To Cursor

Interprets logic until the logic statement on the selected line in the logic editor is reached, before stopping logic execution.

Debugger Report Viewer

You can use the Debugger Report Viewer to view the report XML outputs that were previously generated during debugging and then display the output in the default browser.

The Debugger Report Viewer is part of the AB Suite Developer.

To view any report by using the Debugger Report Viewer, perform the following:

  1. On the Start menu, point to AB Suite 7.0 , and then click DebuggerReportViewer.

    The Debugger Report Viewer dialog box appears.

  2. In the Report Output Directory box, enter the path or browse to the folder where the report XML outputs are saved.

    The Report Output File box lists the previously generated report XML outputs.

  3. Click Refresh to view the list of the latest report XML outputs.

  4. Select the report XML output that you want to view and click View.

    The report XML output information is displayed in the browser.

    You can select multiple report outputs to view the information for multiple report XML outputs in separate browser windows.

  5. Click Close to close the Debugger Report Viewer dialog box.

Note:

In the Debugger Report Viewer, you can only view the information for report XML outputs that were generated by AB Suite. You cannot view the information for any other XML files.