Previous Topic Next topic Print topic


Dstep

Use

Sets the default mode and/or action-list for Step.

Command Syntax

DSTEP [ IN|OVER ]
      [ BACTION | SACTION | BOTH ] 
      [ [action-list] ]

where:

action-list
Specifies a set of one or more CodeWatch commands separated by semicolons

Description

The DSTEP command sets the default stepping mode to either In or Over called routines and/or sets the default action-list for Step. If Dstep is not used, Over is the default stepping mode.

The Baction, Saction, and Both default stepping modes are intended to be used to step to a user-specified breakpoint. You may specify that the breakpoint action list be executed (Baction), the default step action list be executed (Saction), or both action lists be executed (Both).

Example

In the following example, the default stepping mode is set to In and the PRINT command is set as the default action to be executed at each step. When the subsequent Step is executed, the current execution point is displayed and the current source line is printed.

CodeWatch> DSTEP IN [PRINT] 
CodeWatch> STEP
Step at PRIMES.SIFT\%ENTRY
  76: sift: procedure(n);
Previous Topic Next topic Print topic