Using the Programs view

The Programs view displays and allows you to navigate programs, service programs, ILE modules, and OPM programs.

About this task

The programs or service programs in the list can be expanded to show modules. When you are viewing programs or service programs, clicking the Show programs in debug icon will filter out modules without debug data, leaving only the programs with debug information. To display non-debuggable programs, click this icon again.

When you are debugging Java code, use the Programs view to see and navigate Java classes. You can then expand each class (or compilation unit) to display names of all debuggable methods that constitute the class (all methods are debuggable if the class is debuggable).

The Programs view contains compile units that are being debugged. Any compilation unit where execution stops automatically gets added to the Programs view. You can use the Add Program dialog box to add these compile units to debug.

When a module or Java class is expanded, its available views display. If you expand a view and double-click the source file in it, its selected view is displayed in the editor. When a procedure, function, or method is selected, its source is displayed in the editor.

When inspecting compile units, double-clicking source file nodes will cause the source to open in the editor.

You can have the properties of compile units, modules, procedures, and methods displayed in the Properties view, as follows:

Procedure

  1. Open the Properties view by choosing Window > Show View > Other and then selecting the Properties view from the set of Basic views.
  2. In the Programs view, go to the item whose properties you wish to view. If necessary, expand the nodes and use the scroll bars, Up and Down keys, or PageUp and PageDown keys to scroll the view until the item is visible.
  3. Select the module to have its properties appear in the Properties view.

Results

Entries in the Programs view are visible if they are at the top level of the tree structure, or if the nodes a level higher have been expanded. For all nodes that are visible in this view, you can jump to a specific node by typing the first letter of the node. The view will jump to the next node that begins with that letter. If this node is not the node that you wanted to jump to, type the first letter again to jump to the next node that begins with the letter, and so on.


Feedback