Jump to: navigation, search

Debugging Toolbars

In GVP and ORS Debugging perspectives, the first pane contains Debug and Navigator views.  The second pane contains views for Variables, Breakpoints, and Expressions. A GVP example is shown below.

CVDebugToolbars.gif

Debug View

The Debug view shows the name of the callflow or workflow diagram being debugged, as well as the status of the debug progress or result.

 
CVDebugTab.gif

Each toolbar button is identified in the table below.

CVSearchRemAllMatches.gif
Remove All Terminated Launches

Select to clear the Debug view of all terminated launches.

CVDebugTabResume.gif
Resume

Select to resume the execution of the currently suspended debug target.

CVDebugSuspend.gif
Suspend

[Not supported in Composer]

CVDebugTabTerminate.gif
Terminate

Select to terminate the launch associated with the selected debug target.  Once a launch is terminated it can be automatically removed from the Debug view. When using the ORS Debugger, Terminate means that the session in ORS will end along with the debugging session.

CVDebugDisconnect.gif
Disconnect

Not supported for the GVP Debugger. When using the ORS Debugger, Disconnect means that the debugging session ends, but ORS will continue executing the SCXML.

CVDebugStepInto.gif
Step Into

Disabled for both routing and voice applications.

CVDebugTabStepOver.gif
Step Over

Step Over is the only way to step for both routing and voice applications. Select to step over the next method call (without entering it) at the currently executing line of code. Even though the method is never stepped into, the method will be executed normally.

CVDebugStepReturn.gif
Step Return

[Not supported in Composer]

CVDebugDropToFrame.gif
Drop to Frame

[Not supported in Composer]

CVDebugUseStepFilters.gif
Use Step Filters

[Not supported in Composer]

CVInvertedTriangle.gif
View Menu

Select from the following:  

  • View Management
  • Java (then select from:  Show Monitors, Show System Threads, Show Qualified Names, Show Thread Groups)

Navigator View

The Navigator  view shows the same Project folder structure shown in the Project Explorer window of the Composer perspective.

CVNavToolbar.gif

Each toolbar button on the Navigator toolbar is identified in the table below.

CVBackButton.gif
Back

Moves back.

CVForwardButton.gif
Forward

Moves forward.

CVNavigatorUpFolder.gif
Up

Navigate up one level in the hierarchy

CVCollapseAll.gif
Collapse All

Select to collapse all of the current elements in the view.

CVLinkOpenEditors.gif
Link Open Editors

When you have multiple files open for editing, select to bring an open file to the foreground (make its editor session the active editor) every time you select that open file in one of the navigation views.

CVInvertedTriangle.gif
View Menu

Select to show additional actions for this view.

  • Select Working Set. Working sets group elements for display in views or for operations on a set of elements. The navigation views use working sets to restrict the set of resources that are displayed. If a working set is selected in the navigator, only resources, children of resources, and parents of resources contained in the working set are shown.
  • Deselect Working Set. Deselects the active working sets. All elements are shown after invoking this action.
  • Edit Active Working Set.  Opens the Edit Working Set wizard to edit the currently active working set.
  • Sort (by name or type).
  • Filters (class, JETEmitters, general, or *).
  • Link with Editor.  Brings an open file to the foreground (makes  its editor session the active editor) every time you select that open file in one of the navigation views.

Variables View

The Variables view displays information about the variables associated with the stack frame selected in the Debug view. When debugging a Java program, variables can be selected to have more detailed information as displayed below. In addition, Java objects can be expanded to show the fields that a variable contains.

CVVariablesView.gif

Each toolbar button in the Variables view is identified in the table below.

CVVariablesShowTypeNames.gif
Show Type Names

Select to change if type names should be shown in the view or not. Unavailable when columns are displayed. Hint: Select Layout from View menu and de-select Show Columns.

CVVariablesShowLogStruct.gif
Show Logical Structure

Select to change if logical structures should be shown in the view or not.

CVCollapseAll.gif
Collapse All

Select to collapse all the currently expanded variables.

CVInvertedTriangle.gif
View Menu

Select from the following:

  • Layout: Vertical View Orientation, Horizontal View Orientation, Variables view Only, Show Columns, Select Columns.
  • Java:  Show Constants, Show Static Variables, Show Qualified Names, Show Null Array Entries, Show References, Java Preferences.

Breakpoints View

The Breakpoints view and toolbar manage breakpoints within a debugging session.

Each toolbar button in the Breakpoints view is identified in the table below.

CVSearchRemSelMatches.gif
Remove Selected Breakpoints

Select to clear all selected breakpoints.

CVSearchRemAllMatches.gif
Remove All Breakpoints

Select to clear all breakpoints.

CVBreakPointsSelTarget.gif
Show Breakpoints Supported by Selected Targets

Select to show all breakpoints supported by the selected targets.

CVBrkPtGo2.gif
Go To File For Breakpoint

[Not supported in Composer]

CVBreakPointsSkip.gif
Skip All Breakpoints

Select to skip over all breakpoints.

CVBreakPointsURL.gif
Create URL Breakpoint

Select to create a breakpoint that uses a URL.

CVExpandAll.gif
Expand All

Select to expand all the current breakpoints.

CVCollapseAll.gif
Collapse All

Select to collapse all the current breakpoints.

CVLinkOpenEditors.gif
Link With Debug View

[Not supported in Composer]

CVBreakPointsAddJavaEx.gif
Add Java Exception Breakpoint

Select to open a dialog box where you can:

  • Type a string that is contained in the name of the exception you want to add. You can use wildcards as needed ("* " for any string and "? " for any character).
  • Select the exception types you want to add.
  • Select Caught and Uncaught as needed to indicate on which exception type you want to suspend the program.

[This option is not relevant to GVP Debugging in Composer.]

CVInvertedTriangle.gif
View Menu

Select from the following:

  • Group By:  Breakpoints, Breakpoint Types, Breakpoint Working Sets, Files, Projects, Resource Working Sets, Advanced...
  • Default Working Set
  • Deselect Default Working Set
  • Working Sets
  • Show Qualified Names

Expressions View

Use the Expressions view to inspect data from a stack frame of a suspended thread, and other places.

 CVExpressionsView.gif

Each toolbar button in the Expressions view is identified in the table below.

CVVariablesShowTypeNames.gif
Show Type Names

Select to change if type names should be shown in the view or not. Unavailable when columns are displayed. Hint: Select Layout from View menu and de-select Show Columns.

CVVariablesShowLogStruct.gif
Show Logical Structure

Select to change if logical structures should be shown in the view or not.

CVCollapseAll.gif
Collapse All

Select to collapse all the currently expanded expressions.

CVWatchExpression2.gif
Create a New Watch Expression

Select to open the Create New Expression dialog box, which allows you to create a new watch expression based on the selected variable and add it to the Expressions View.

CVSearchRemSelMatches.gif
Remove Selected Expressions

Select to remove the selected expressions.

CVSearchRemAllMatches.gif
Remove All Expressions

Select to remove all expressions.

CVInvertedTriangle.gif
View Menu

Select from the following:

  • Layout: Vertical View Orientation, Horizontal View Orientation, Expressions View Only.
  • Java:  Show Constants, Show Static Variables, Show Qualified Names, Show Null Array Entries, Show References, Java Preferences.

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on November 30, 2018, at 10:46.