HPlogo LU 6.2 API Application Programmer's Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 7 Debugging

Debugging Steps

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Glossary

 » Index

To minimize the time spent isolating TP problems, follow the procedure below.

  1. Format and analyze the user trace. The user trace is the most useful point of departure when debugging. If you have not enabled user tracing, you will have to recreate the problem with user tracing enabled. See the description of the TPStarted intrinsic, in Chapter 5 “ Intrinsic Descriptions” for more information on enabling user tracing.

    Scan the user trace for status info values other than 0 (successful completion). Determine the meaning of any non-zero status info values.

  2. If you cannot find any problems with your code, verify that the remote TP name passed through MCAllocate is the correct name for the remote TP that will communicate with the local TP.

  3. If you do not find a problem with the local TP, and you have verified that the local TP is communicating with the correct remote TP, talk with the remote programmer to determine whether the problem lies with the remote TP. Many problems occur because the local and remote programs are out of synchronization.

Feedback to webmaster