TOC PREV NEXT INDEX DOC LIST MASTER INDEX




Debug > Step > Step Statement

The Debug > Step from the editor and the Execution > Step Statement command from any debugger window single steps one line of source code, stepping into called subprograms (Ada) or functions (C/C++). If the debugger is currently on a source line containing subprogram (Ada) or function (C/C++) calls, the program executes up to the point where it calls one of the subprograms (Ada) or functions (C/C++). The program then stops inside the called subprogram (Ada) or function (C/C++).

In Ada, subprogram here means procedure, function, separate package body or instantiated generic package.

If the program has not started —— for example, just after invoking the debugger —— the Step Statement command starts the program, stepping one source line. For Ada programs, this steps over all the library unit elaborations.

Note: The Step Statement command can also be executed by positioning your cursor in the Source window and typing s or by entering s in the Command Line Pane. Entering ss in the Command Line Pane continues single stepping and passes the raised signal to the program. Entering si in the Command Line Pane single steps the program one machine instruction and displays the instruction line in the Debugger window. Additional information about stepping can be found in Using the Apex Debugger.

Additional Topics

To see related information, click on a topic:


Rational Software Corporation 
http://www.rational.com
support@rational.com
techpubs@rational.com
Copyright © 1993-2001, Rational Software Corporation. All rights reserved.
TOC PREV NEXT INDEX DOC LIST MASTER INDEX TECHNOTES APEX TIPS