Native Inspect Manual (H06.07+)

Syntax of Native Inspect Commands
Native Inspect Manual528122-006
4-47
list command
Otherwise, use the map-source-name command to map the compile-time file name
to the current name. You can copy and paste the path name displayed in the error
message as the left-hand argument to the map command.
For examples of locating source files, see Determining the Compilation-Time Source
File Name (If Necessary) on page 2-5 and Configuring a Search Path for Your Source
Files (If Necessary) on page 2-5.
For additional details regarding COBOL programs, see Section 3, Using Native Inspect
With COBOL Programs.
Repeating the list Command
After you enter a list command, you can repeat it by pressing the Enter key at the next
Native Inspect prompt. The effect is the same as if you had entered another list
command with no parameters: listing continues with the line following the most recently
listed line. This ability to repeat continues until you enter another Native Inspect
command.
Examples
To list source:
(eInspect 1,463):list
377 */
378 printf( "%s building PCBReadyList: 0, 2, 4\n",
getStepPrefix( 2 ) );
379 PCBList_add( &PCBReadyList, PCBList.entry[0] );
380 pcb = PCBList.entry[0]->ref.pcb;
381 pcb->state = PCBState_ready;
382 pcb->flags.item.isReady = 1;
383 pcb->flags.item.isHappy = 1;
384
385 PCBList_add( &PCBReadyList, PCBList.entry[2] );
386 pcb = PCBList.entry[2]->ref.pcb;
(eInspect 1,463):list
387 pcb->state = PCBState_ready;
388 pcb->flags.item.isReady = 1;
389 pcb->flags.item.isHappy = 1;
390
391 PCBList_add( &PCBReadyList, PCBList.entry[4] );
392 pcb = PCBList.entry[4]->ref.pcb;
393 pcb->state = PCBState_ready;
394 pcb->flags.item.isReady = 1;
395 pcb->flags.item.isHappy = 1;
396