DBG$HELP.HLB  —  DEBUG  DISABLE  AST
    Disables the delivery of asynchronous system traps (ASTs) in your
    program.

    Format

      DISABLE AST

1  –  Description

    The DISABLE AST command disables the delivery of ASTs in your
    program and thereby prevents interrupts from occurring while the
    program is running. If ASTs are delivered while the debugger is
    running (processing commands, and so on), they are queued and are
    delivered when control is returned to the program.

    The ENABLE AST command reenables the delivery of ASTs, including
    any pending ASTs (ASTs waiting to be delivered).

                                   NOTE

       Any call by your program to the $SETAST system service that
       enables ASTs overrides a previous DISABLE AST command.

    Related commands:

       (ENABLE,SHOW) AST

2  –  Example

  DBG> DISABLE AST
  DBG> SHOW AST
  ASTs are disabled
  DBG>

      The DISABLE AST command disables the delivery of ASTs in your
      program, as confirmed by the SHOW AST command.
Close Help