Debugging on a Remote Host

When you start or configure a debugging session, you can choose to run the dbx debugger on the local host where you are running dbxtool, or on a remote host.

Tcp forwarding must be enabled on both the local host and the remote host. To enable tcp forwarding on each host:

  1. Open the /etc/ssh/sshd_config file and change the setting of the AllowTcpForwarding property to yes.
  2. Restart the ssh daemon /usr/lib/ssh/sshd.

To define a remote host:

  1. Open the Remote Host Settings dialog box by choosing Tools > Hosts, or by clicking Hosts in the Debug Executable dialog box, the Debug Core File dialog box, the Configure Current Debugged Session dialog box, or the Attach dialog box.
  2. Click Duplicate to create a new remote host.
  3. Type the host name in the Host Name field.
  4. Select the platform from the Platform drop-down list.
  5. Make sure that the Studio Location field contains the path to the installation directory for your Sun Studio software; for example, /opt/sunstudio12.1 on Solaris platforms and /opt/sun/sunstudio12.1 on Linux platforms.
  6. The Login Name is automatically set.
  7. Click OK. dbxtool connects to the remote host and the new host is added to the list of hosts.

Legal Notices