Debugger 

(System Library)

Description:              This module starts the VTS debugger.

Returns:                    Nothing

Usage:                       Script

Format:                      \System\Debugger([Status, ViewModule, TxtAppName, MtSdView, Restrict])

Parameters:             Status     { numeric }  { optional }  { default: 1 }
          An optional parameter that is any numeric expression giving the enabled status of the window in which the debugger is displayed, as follows:

Status

Meaning

0

Disabled

1

Enabled

2

Enabled, bring to front

3

Enabled, reload ViewModule, then bring to front

 

                             The default value is 1 - Enabled.

                                    ViewModule     { Object value }  { optional }  { no default }
          An optional parameter that is an object value selecting the current module or object to debug.

                                    TxtAppName     { text }  { optional }  { no default }
          An optional parameter that is any text expression to be appended to the title bar of the debugger window.

                                    MtSdView     { Boolean }  { optional }  { default: false}
          An optional parameter that is any logical expression; if true (non-0) the module tree and state diagram buttons are displayed on the debugger, if false (0), neither will be displayed. The default is false.

                                    Restrict     { Boolean }  { optional }  { default: true }
          An optional parameter that is any logical expression; if true (non-0) VTS system windows may not be selected for debugging, if false (0) any window may be selected by the debugger, including itself. The default is true.

Comments:               This module is a member of the System Library, and must therefore be prefaced by \System\, as shown in the "Format" section. If the application you are developing is a script application, the System variable must be declared in APPMOD.SRC and need not be prefaced by a backslash in the function call.

                             For any optional parameter that is to be set, all optional parameters preceding the desired one must be present, although they may be invalid.