Starting a debug session

To launch a debug session, you start the client on your workstation followed by the debug engine on the server with the parameters for connecting your workstation. For information about debug engine parameters, see the related topic about starting the debugger engine.

About this task

To launch a debug session from the server that connects to a workstation with a running debug client (for example Rational Developer for Power Systems Software) issue irmtdbgc -qhost=host:port debuggee_name [debuggee parms] on the server. For more information about the syntax of the irmtdbgc command, including advanced parameters, see the related topic about starting the debugger engine.

When you launch a debug session, the debug engine finds the source for the application. The engine will issue a warning if the source does not match the executable that you are debugging.

Tip:
  • You can attach to a running process instead of loading a program by using the -a debug engine parameter (for example, by issuing irmtdbgc -qhost=host:port -a xxxx, where xxxx may be a process identifier or, if the name of the application is unique, the name of the process).
  • On AIX®, you can debug a core file in the same way as a regular executable: irmtdbgc -qhost=host:port core
  • You can set the DER_DBG_ADDR=host:port environment variable to set the default location of the user interface. For information about debug engine environment variables, see the related topic.

Feedback