DESCRIPTION The pmdb utility can be used to see what is happening inside a running process or to catch program crashes and examine the state at the time of the crash. The only way to start pmdb at this moment is to specify the name of the program to be debugged and all its arguments on the command line. Optionally, -c can be used to specify a core file to examine. It is also possible to debug a process that is already running by specifying the process's PID to the -p flag. This causes the process to be put in STOPPED state until execution is resumed either by an explicit command to pmdb or by exiting pmdb. The program is controlled from a command line which usually gives the prompt "pmdb>".
PROCESS STATES A loaded program can be in one of three possible states: