The Diagnostic Controller uses the process ID (PID) of the DA to determine which TMInput object class entry to use for the DA during execution. To use dbx to debug the DA, run the following:
export DIAG_DEBUG=1
odmget TMInput > /tmp/tminput.add # save off contents of TMInput.
odmdelete -o TMInput # delete what is currently in TMInput. odmadd /tmp/tminput.add # add new contents of TMInput.
If the Diagnostic Application uses a kernel extension or Second Level Interrupt Handler, you may have to perform the following before trying to load and debug the DA.