/sys$common/syshlp/DBG$HELP.HLB  —  DEBUG  ACTIVATE  BREAK
    Activates a breakpoint that you have previously set and then
    deactivated.

    Format

      ACTIVATE BREAK  [address-expression[, . . . ]]

1  –  Parameters

 address-expression

    Specifies a breakpoint to be activated. Do not use the asterisk
    (*)  wildcard character. Instead, use the /ALL qualifier. Do not
    specify an address expression when using any qualifiers except
    /EVENT, /PREDEFINED, or /USER.

2  –  Qualifiers

2.1    /ACTIVATING

    Activates a breakpoint established by a previous SET
    BREAK/ACTIVATING command.

2.2    /ALL

    By default, activates all user-defined breakpoints. When used
    with /PREDEFINED, activates all predefined breakpoints but
    no user-defined breakpoints. To activate all breakpoints, use
    /ALL/USER/PREDEFINED.

2.3    /BRANCH

    Activates a breakpoint established by a previous SET BREAK/BRANCH
    command.

2.4    /CALL

    Activates a breakpoint established by a previous SET BREAK/CALL
    command.

2.5    /EVENT

       /EVENT=event-name

    Activates a breakpoint established by a previous SET
    BREAK/EVENT=event-name command. Specify the event name (and
    address expression, if any) exactly as specified with the SET
    BREAK/EVENT command.

    To identify the current event facility and the associated event
    names, use the SHOW EVENT_FACILITY command.

2.6    /EXCEPTION

    Activates a breakpoint established by a previous SET
    BREAK/EXCEPTION command.

2.7    /HANDLER

    Activates a breakpoint established by a previous SET
    BREAK/HANDLER command.

2.8    /INSTRUCTION

    Activates a breakpoint established by a previous SET
    BREAK/INSTRUCTION command.

2.9    /LINE

    Activates a breakpoint established by a previous SET BREAK/LINE
    command. Do not specify an address expression with this
    qualifier.

2.10    /PREDEFINED

    Activates a specified predefined breakpoint without affecting
    any user-defined breakpoints. When used with /ALL, activates all
    predefined breakpoints.

2.11    /SYSEMULATE

    (Alpha only) Activates a breakpoint established by a previous SET
    BREAK/SYSEMULATE command.

2.12    /TERMINATING

    Activates a breakpoint established by a previous SET
    BREAK/TERMINATING command.

2.13    /UNALIGNED_DATA

    (Alpha and Integrity servers only) Activates a breakpoint
    established by a previous SET BREAK/UNALIGNED_DATA command, or
    reactivates a breakpoint previously disabled by a DEACTIVATE
    BREAK/UNALIGNED_DATA command.

2.14    /USER

    Activates a specified user-defined breakpoint without affecting
    any predefined breakpoints. To activate all user-defined
    breakpoints, use the /ALL qualifier.

3  –  Description

    User-defined breakpoints are activated when you set them with
    the SET BREAK command. Predefined breakpoints are activated by
    default. Use the ACTIVATE BREAK command to activate one or more
    breakpoints that you deactivated with DEACTIVATE BREAK.

    Activating and deactivating breakpoints enables you to run and
    rerun your program with or without breakpoints without having to
    cancel and then reset them. By default, the RERUN command saves
    the current state of all breakpoints (activated or deactivated).

    You can activate and deactivate user-defined breakpoints or
    predefined breakpoints or both. To check if a breakpoint is
    activated, use the SHOW BREAK command.

    Related commands:

       CANCEL ALL
       RERUN
       (SET,SHOW,CANCEL,DEACTIVATE) BREAK
       (SET,SHOW) EVENT_FACILITY

4  –  Examples

    1.DBG> ACTIVATE BREAK MAIN\LOOP+10

      This command activates the user-defined breakpoint set at the
      address expression MAIN\LOOP+10.

    2.DBG> ACTIVATE BREAK/ALL

      This command activates all user-defined breakpoints.

    3.DBG> ACTIVATE BREAK/ALL/USER/PREDEFINED

      This command activates all breakpoints, both user-defined and
      predefined.
Close Help