Progress
Debugger Guide


DISPLAY Command

Displays the value of a specified variable, field, parameter, or attribute in the current procedure. The Debugger displays the information in the data panel.

SYNTAX

DISPLAY [ VARIABLE | FIELD | PARAMETER ] name 

DISPLAY handle :attribute 

DISPLAY widget-name :attribute [ IN FRAME frame-name ] 

DISPLAY { FRAME | MENU } widget-name :attribute 

DISPLAY { SUB-MENU | MENU-ITEM } widget-name :attribute
  [ IN { MENU | SUB-MENU } menu-name ] 

PARAMETERS

[ VARIABLE | FIELD | PARAMETER ]

Specifies the type of data object you want to inspect. If you do not specify this option, the Debugger attempts to resolve name for all object types and reports any ambiguity in the data panel.

name

The name of a variable, field, or parameter defined in the current procedure. If name specifies a field it must also specify any necessary buffer qualifier that you need to uniquely identify the field.

handle

The name of a variable, field, parameter, or system handle in the current procedure that contains a valid HANDLE, WIDGET-HANDLE, or COM-HANDLE value.

attribute

The name of an attribute of the specified widget, or the name of a property of a specified com object.

widget-name

The name of a static widget defined in the current procedure.

[ IN FRAME frame-name ]

Specifies the name of the frame (frame-name) that contains the specified field-level widget. If you do not specify this option, the widget in the most recently defined frame is used.

{ FRAME | MENU | SUB-MENU | MENU-ITEM } widget-name

Specifies the type of widget for a frame, menu, submenu, or menu item widget (respectively) whose attribute you want to inspect. If you do not specify a widget type for these widgets, the Debugger reports an error in the data panel. Note that you do not use a widget type to specify a field-level widget.

[ IN { MENU | SUB-MENU } menu-name ]

Specifies the name of the menu or submenu (menu-name) that contains the specified menu or submenu item widget. If you do not specify this option, the widget from the most recently defined menu or from the first submenu of the menu tree is used.

NOTES

SEE ALSO

ASSIGN Command, LIST BUFFERS Command, LIST PARAMETERS Command, LIST VARIABLES Command


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095