DBG$HELP.HLB  —  DEBUG  SET  SCOPE  Description, Continued...
    The SET SCOPE command is useful in those cases where otherwise
    you would need to use a path name repeatedly to specify symbols.

    SET SCOPE changes the debugger's language setting to the language
    of the specified scope.

    To restore the default scope search list, use the CANCEL SCOPE
    command.

    When the default scope search list is in effect, you can use the
    SET SCOPE/CURRENT command to specify that symbol searches start
    at a numeric scope other than scope 0, relative to the call stack
    (for example, scope 2).

    When you use the SET SCOPE command, the debugger searches only
    the program locations you specify explicitly, unless you specify
    /CURRENT. Also, the scope or scope search list established with a
    SET SCOPE command remains in effect until you restore the default
    scope search list or enter another SET SCOPE command. However, if
    you specify /CURRENT, the default scope search list is restored
    whenever program execution is resumed.

    The SET SCOPE command updates a screen-mode source or instruction
    display only if you specify /CURRENT.

    If a name you specify in a SET SCOPE command is the name of
    both a module and a routine, the debugger sets the scope to the
    routine. In such cases, use the SET SCOPE/MODULE command if you
    want to set the scope to the module.

    If you specify a module name in a SET SCOPE command, the debugger
    sets that module if it is not already set. However, if you want
    only to set a module, use the SET MODULE command rather than the
    SET SCOPE command, to avoid the possibility of disturbing the
    current scope search list.

    For information specific to Ada programs, type Help Language_
    Support Ada.

    Related commands:

       CANCEL ALL
       SEARCH
       SET MODULE
       (SHOW,CANCEL) SCOPE
       SHOW SYMBOL
       SYMBOLIZE
       TYPE
Close Help