Search VisualAge for Java Information Go to Information Home Page Go to VisualAge for Java WWW Site

Selected Menu

The Selected menu in the Debug page has the following options:

Option Description
Step Into Steps into the selected statement in the Source pane.  If the statement calls a method, the method is added to the stack, and execution stops on the first line of the method
Step Over Runs the current statement, including all methods called within the statement. Stops before the next statement.
Run to Return Runs the current statement, including all methods called within the statement. Stops before the next statement.
Resume Resumes execution of the suspended thread.
Run to Cursor Resumes running up to the statement where you have placed the cursor in the Source pane.
Terminate Terminates the suspended thread.
References To Search for references to a given string or program element.
Declarations Of Search for declarations of a given string or program element.
Stack Range Above, Stack Range Below If the current stack is very large, the All Programs/Threads pane shows only about twenty stack frames.  These menu options allow you to move to the next range of stack frames.  The pane initially shows the top of the stack (the last twenty methods called).  Select Stack Range Below to move the view down the stack, approaching main() (or the first called method).  Select Stack Range Above to move the view up the stack, approaching the last call.  These ranges wrap around, so that if you select Stack Range Above when you are at the top of the stack, the view will show the bottom of the stack (and vice versa).
Replace With Replace the selected method in the stack with another edition from the repository.
Drop to Selected Frame Drops execution to the selected frame.
Copy Stack Copies a list of the methods on the stack to the clipboard.
Refresh Refreshes the Debug window.