HP 3000 Manuals

AUTORPT [ HP Transact Reference Manual ] MPE/iX 5.0 Documentation


HP Transact Reference Manual

AUTORPT 

Allows you to repeat the last command typed by pressing the Return key.

Syntax 

{AUTORPT} [ON ]
{AR     } [OFF]
Parameters 

ON               Turns on the auto-repeat flag to allow you to repeat a
                 previously-typed command by pressing Return.

OFF              Turns off the auto-repeat flag.

Discussion 

This command allows you to repeat automatically the last command typed.
First you must type the AUTORPT command followed by another TRANDEBUG
command.  When you press Return, the last command typed will repeat
itself.

This is useful if single-stepping is desired through a lengthy program,
or if a breakpoint is set and then subsequently reached many times.  In
such cases, you would first type the STEP or CONTINUE command, then use
the Return key for repeated executions.  If neither ON nor OFF is
specified, the current value of the AUTORPT flag is displayed.  It can
then be changed.  The default for the AUTORPT flag is OFF.

Example 

The following example uses the AUTORPT command to step automatically
through a program.

         TRANDEBUG> AUTORPT ON 
         TRANDEBUG> STEP 

                      EXECUTION STOPPED:

                         SYSTEM          SEGMENT       OFFSET
                         ------------------------------------
                         PARENT                0           28

         TRANDEBUG> Return 
                    REPEATING: STEP

                      EXECUTION STOPPED:

                         SYSTEM          SEGMENT       OFFSET
                         ------------------------------------
                         PARENT                0           34

         TRANDEBUG> Return 
                    REPEATING: STEP

                      EXECUTION STOPPED:

                         SYSTEM          SEGMENT       OFFSET
                         ------------------------------------
                         PARENT                0           36

         TRANDEBUG> AUTORPT OFF 
         TRANDEBUG> Return 



MPE/iX 5.0 Documentation