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:
- Open the /etc/ssh/sshd_config file and change the setting of the AllowTcpForwarding
property to yes.
- Restart the ssh daemon /usr/lib/ssh/sshd.
To define a remote host:
- 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.
- Click Duplicate to create a new remote host.
- Type the host name in the Host Name field.
- Select the platform from the Platform drop-down list.
- 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.
- The Login Name is automatically set.
- Click OK. dbxtool connects to the remote host and the
new host is added to the list of hosts.
Legal Notices