4.3.1 JP1/Advanced Shell Editor window
The following figure shows the JP1/Advanced Shell Editor window and the names of the window's components.
|
- Organization of this subsection
(1) Toolbars
The toolbars display buttons for the most frequently used of the commands that can be selected from the menu bar. You can execute a command by clicking its button on a toolbar. You can also use the View menu to hide the toolbars. Hovering the mouse cursor over a button displays a description of the button's function.
The following table lists the buttons on the Standard Toolbar and describes their functions.
Button |
Function |
---|---|
New button |
Creates a new job definition script file. |
Open button |
Opens an existing job definition script file. |
Save button |
Saves the job definition script file being edited. |
Print button |
Prints the job definition script file being edited. |
Exit button |
Terminates JP1/Advanced Shell Editor and enables you to select whether to save the file. |
Help button |
Displays online help for JP1/Advanced Shell. |
Undo button |
Undo the previous operation. |
Redo button |
Redo the previous operation. |
Cut button |
Cuts a selection and saves it to the clipboard. |
Copy button |
Copies a selection and saves it to the clipboard. |
Paste button |
Pastes the contents of the clipboard to the selected location. |
Select All button |
Selects the entire file. |
Option button |
Enables the operating environment for the editor to be set up. |
Check Syntax button |
Checks the syntax of the entered job definition script. |
Run to Breakpoint button |
Starts and restarts execution up to a breakpoint. |
Stop Script button |
Stops the job definition script. Continues the command whose execution is underway when the Stop Script button is clicked and stops the job definition script before the next command is executed. |
Quit Debugging button |
Continues the command whose execution is underway when the Quit Debugging button is clicked stops the job definition script before the next command is executed. After this, the job definition script is stopped to quit debugging. |
Step In button |
Executes the next command or statement one at a time. If a function is called, this button also executes one line at a time in the function and then stops execution. |
Step Over button |
Executes the next command or statement one at a time. If a function is called, this button does not stop after executing one line at a time in the function but stops when a breakpoint is reached. |
Step Out button |
Executes the script up to the end of a function call. Stops on the line immediately following the function call or at a breakpoint. |
Set/Remove Breakpoint button |
Sets or releases a breakpoint. |
Remove All Breakpoints button |
Releases all breakpoints that have been set. |
Runtime Environment Settings button |
Sets up the script file execution environment. |
View Coverage Information button |
Displays coverage information during debugging. |
Search button |
Used to enter a character string to be searched or replaced. |
Find Previous button |
Searches up for the character string or replaces it. |
Find Next button |
Searches down for the character string or replaces it. |
(2) Ruler
This is a tick-marked bar that displays the horizontally-arranged columns.
(3) Line number area
This area displays the line numbers in a job definition script.
(4) Breakpoint area
This area displays the following symbols: a symbol at the line where a breakpoint is set (), a symbol that indicates the line that is to execute next (
), and a symbol that indicates the line where the debugger process ends (
).
(5) Status bar
The status bar displays messages related to the current processing being executed by JP1/Advanced Shell Editor and messages related to the status after processing has terminated. The following table describes the status bar functions in the JP1/Advanced Shell Editor window.
Status bar |
Description |
---|---|
Job ID |
Displays the job ID of the job that is being debugged. |
Position |
Displays the location of the cursor. |
Total lines |
Displays the total number of lines in the job definition script file being edited. |
INS or OVR |
Displays the overwrite mode that can be switched by toggling the Insert key. The two modes are the following (where the Insert mode is the default):
|
(6) Client area
The client area displays the job definition script file you are working on.
(7) Message output window
Error messages that are generated while debugging are displayed in the Message output window.
(8) Variable window
Variable names and variable values are displayed in the Variable window while debugging.