Diagnostic tools, Application debugging environment, Ci errors – HP Integrity NonStop J-Series User Manual

Page 211

Advertising
background image

Problem Resolution

HP NonStop AutoTMF Software User’s Guide429952-016

C-5

Diagnostic Tools

The home terminal for the monitor process is configured when the MapDB is created or
when the monitor is started. See the description of the CI commands

CREATE

MAPDB

,

ALTER MONITOR

and

START MONITOR

for details about configuring the

monitor.

The monitor activity can be logged to a file for cases where the monitor’s behavior is
under suspicion.

If the monitor process fails, the monitor produces a saveabend file and displays a
message and a stack trace on its home terminal. Always check messages on the home
terminal when a failure occurs.

CI Errors

The AutoTMF CI is the user interface to AutoTMF. The CI is used to configure and
monitor the environment. The CI also features a series of utility commands such as

COPY

,

FILEINFO

,

LISTLOCKS (LL)

, and so forth.

The CI uses the runtime library like any other prepared application program. A defect in
the runtime library could therefore affect the CI.

If the CI fails, the CI produces a saveabend file and displays a message and a stack
trace on its out file, most often the user’s terminal.

Diagnostic Tools

Application Debugging Environment

EMS Log

CI Commands

Tracing

Application Debugging Environment

Debugging programs is an important diagnostic tool. Debugging prepared programs is
no different than debugging regular programs. There are only the following minor
differences:

Because Enscribe procedure calls are intercepted by the NonStop AutoTMF
runtime, you can set a breakpoint on an Enscribe procedure such as OPEN,
READ, WRITE, so on, and step into the procedure code. If this occurs, just step
out of the procedure code and resume debugging.

You can see the open of the TFILE ($TMP) when displaying the files opened by the
program.

If you are tracing the program, you see the open of the trace file when displaying
the files opened by the program.

Advertising
This manual is related to the following products: