/sys$common/syshlp/DBG$HELP.HLB  —  DEBUG  CANCEL  ALL
    Cancels all breakpoints, tracepoints, and watchpoints. Restores
    the scope and type to their default values. Restores the line,
    symbolic, and G_floating modes established with the SET MODE
    command to their default values.

    Format

      CANCEL ALL

1  –  Qualifiers

1.1    /PREDEFINED

    Cancels all predefined (but no user-defined) breakpoints and
    tracepoints.

1.2    /USER

    Cancels all user-defined (but no predefined) breakpoints,
    tracepoints, and watchpoints. This is the default unless you
    specify /PREDEFINED.

2  –  Description

    The CANCEL ALL command does the following:

    1. Cancels all user-defined eventpoints (those created with
       the commands SET BREAK, SET TRACE, and SET WATCH). This is
       equivalent to entering the commands CANCEL BREAK/ALL, CANCEL
       TRACE/ALL, and CANCEL WATCH/ALL. Depending on the type of
       program (for example Ada, multiprocess), certain predefined
       breakpoints or tracepoints might be set automatically when
       you start the debugger. To cancel all predefined but no user-
       defined eventpoints, use CANCEL ALL/PREDEFINED. To cancel
       all predefined and user-defined eventpoints, use CANCEL
       ALL/PREDEFINED/USER.

    2. Restores the scope search list to its default value
       (0,1,2, . . . ,n). This is equivalent to entering the CANCEL
       SCOPE command.

    3. Restores the data type for memory locations that are
       associated with a compiler-generated type to the associated
       type. Restores the type for locations that are not associated
       with a compiler-generated type to "longword integer". This is
       equivalent to entering the CANCEL TYPE/OVERRIDE and SET TYPE
       LONGWORD commands.

    4. Restores the line, symbolic, and G_floating modes established
       with the SET MODE command to their default values. This is
       equivalent to entering the following command:

       DBG> SET MODE LINE,SYMBOLIC,NOG_FLOAT

    The CANCEL ALL command does not affect the current language
    setting or modules included in the run-time symbol table.

    Related commands:

       (CANCEL,DEACTIVATE) BREAK
       CANCEL SCOPE
       (CANCEL,DEACTIVATE) TRACE
       CANCEL TYPE/OVERRIDE
       (CANCEL,DEACTIVATE) WATCH
       (SET,CANCEL) MODE
       SET TYPE

3  –  Examples

    1.DBG> CANCEL ALL

      This command cancels all user-defined breakpoints and
      tracepoints and all watchpoints, and restores scopes, types,
      and some modes to their default values. In this example, there
      are no predefined breakpoints or tracepoints.

    2.DBG> CANCEL ALL
      %DEBUG-I-PREDEPTNOT, predefined eventpoint(s) not canceled

      This command cancels all user-defined breakpoints and
      tracepoints and all watchpoints, and restores scopes, types,
      and some modes to their default values. In this example, there
      is a predefined breakpoint or tracepoint; this is not canceled
      by default.

    3.DBG> CANCEL ALL/PREDEFINED

      This command cancels all predefined breakpoints and
      tracepoints, and restores scopes, types, and some modes
      to their default values. No user-defined breakpoints or
      tracepoints are affected.
Close Help