Inspect Manual

Introduction
Inspect Manual429164-006
1-9
The DMON Process
Starting a DMON process on each processor in your system
Monitoring the status of the DMON processes, ensuring that a DMON is always
running in each CPU
Starting Inspect processes
The DMON Process
A DMON process runs on each processor in a system that has IMON running. The
name of the DMON process running on processor number nn is $DMnn. A DMON
process provides debugging functions for all programs running in its processor; these
functions include:
Setting or clearing data and code breakpoints
Retrieving values from or storing values in the program's data space
Informing Inspect when a breakpoint has been reached
Creating an image of a program and storing it in a save file for later examination
Inspect, IMON, and DMON Swap and Extended Swap Files
The Inspect, IMON, and DMON swap files do not need to be located on the $SYSTEM
volume. IMON and DMON swap files are on the swap file volume specified when the
$IMON process is started. Inspect processes that are started by IMON have the same
swap file volume as the first process that is debugged; for example:
For SCREEN COBOL programs, the swap file volume of the TCP is used, which is the
volume specified in the TCP configuration parameter, “Guardian Swap.” To override,
start Inspect from the command interpreter Inspect command. Note that IMON does
not start Inspect if you enter the command interpreter Inspect command.
Remote Debugging
Inspect enables you to debug a program running on another system in an EXPAND
network. When debugging such a program, the Inspect process runs on the remote
system. If you want to debug a process on a remote node, the process must have
Note. The TCP, not DMON, provides these execution control functions for PATHWAY
requester programs.
> ALTER DEFINE =_DEFAULTS, SWAP $DISK4
> IMON /NAME $IMON, SWAP $DISK4/ -- IMON and DMON swap files are on $DISK4
.
.
.
> RUND -- INSPECT’s extended swap files are also on $DISK4
> INSPECT / SWAP $DISK4, EXTSWAP $DISK4/ -- INSPECT's swap
and extended swap files are on $DISK4