TRANSFER Programming Manual
How to Use INSPECT with the Agent Tester
A Sample TRANSFER Program
11–6 40970 Tandem Computers Incorporated
PATHMON starts for the agent tester is named 999-MYTERM1-999 (to see what TERM
name PATHMON has assigned for the agent, you use the PATHCOM STATUS TERM
* command). You want the agent tester and test agent to run on $MYTERM1 and the
INSPECT session to run on $MYTERM2. The test agent is named test-agent. You set
the first breakpoint at the point where the agent tester calls the test agent.
Figure 11-1. Using INSPECT with the Agent Tester
$MYTERM1 $MYTERM2
>STOP TCP test-TCP
>ALTER TCP test-TCP, INSPECT ON
>START TCP test-TCP
PATHCOM $mypm
= RUN AGENTEST
>PATHCOM $mypm
=STATUS TERM *
=INSPECT 999-MYTERM1-999,
FILE $MYTERM2
=EXIT
>PAUSE
Press F1 to log on
debugging: INSPECT prompt appears; begin debugging:
—999-MYTERM1-999— break #test-agent
—999-MYTERM1-999— resume