Native Inspect Manual (H06.13+, J06.03+)

106
107
108
109 ?SECTION RANGE-110-112
110 DISPLAY " CLIBCLB1: RANGE-110-112: line 110".
111 DISPLAY " CLIBCLB1: RANGE-110-112: line 111".
112 DISPLAY " CLIBCLB1: RANGE-110-112: line 112".
113
114
(eInspect 3,1012):b CLIBCLB1:110
Breakpoint 2 at 0x700063b0:0: file \YOSQA1.$DATA1.SHCOBAT.CLIBCLB1, line 110.
Breakpoint 3 at 0x70006f30:0: file \YOSQA1.$DATA1.SHCOBAT.CLIBCLB1, line 110.
Breakpoint 4 at 0x70007770:0: file \YOSQA1.$DATA1.SHCOBAT.CLIBCLB1, line 110.
(eInspect 3,1012):c
Continuing.
Breakpoint 2, COPYLIB-STATEMENTS () at \YOSQA1.$DATA1.SHCOBAT.CLIBCLB1:110
110 DISPLAY " CLIBCLB1: RANGE-110-112: line 110".
(eInspect 3,1012):list
105 02 ALPHA-A26 PIC A(26) VALUE "abcdef".
106
107
108
109 ?SECTION RANGE-110-112
110 DISPLAY " CLIBCLB1: RANGE-110-112: line 110".
111 DISPLAY " CLIBCLB1: RANGE-110-112: line 111".
112 DISPLAY " CLIBCLB1: RANGE-110-112: line 112".
113
114
(eInspect 3,1012):next
CLIBCLB1: RANGE-110-112: line 110
111 DISPLAY " CLIBCLB1: RANGE-110-112: line 111".
(eInspect 3,1012):next
CLIBCLB1: RANGE-110-112: line 111
112 DISPLAY " CLIBCLB1: RANGE-110-112: line 112".
(eInspect 3,1012):next
CLIBCLB1: RANGE-110-112: line 112
314 DISPLAY " ".
The preceding example demonstrates the following:
The list command, by default, lists source from the file that contains the statement at which
execution is suspended. It lists one file at a time and does not show the contents of included
files.
You can view the contents of an included file by specifying the base file name and the line
number relative to the file you want to view.
Specify the base file name and line number to set a breakpoint on a line in a copy library.
Native Inspect sets breakpoints at each program location where that copy library line is
included. Therefore, multiple breakpoints might be reported for each copy library line. Clear
any breakpoints that you do not need.
Terminating the Debugging Session
Use the kill command to terminate the process and debugging session:
(eInspect 3,1012):kill
Kill the current process? (y or n) y
Process (3,1012) exited with code 06.
Removed process (3,1012).
eInspect is exiting...
Killed
TACL>
If you want the process to continue execution, use the continue command followed by the exit
command to terminate the debugging session.
46 Using Native Inspect