2.8.3 Starting the application rewind server and debugging the target-resident application
Use the Start undodb-server and debug target-resident application option to start the application rewind server on the target system and debug an existing application.
Before connecting, you must:
- Set up the target with an Operating System (OS)
installed and booted. See the documentation supplied with the target for more
- Obtain the IP address or name of the target.
- Set up a Remote Systems Explorer (RSE)
connection to the target.
- Ensure that the application rewind server is available on your target and is
added to your
PATH environment variable.
- Ensure that the application you want to debug is available on the target.
From the main menu, select Window > Open Perspective > Other > DS-5 Debug to switch to the DS-5 debug
From the Run menu, select Debug Configurations....
Select DS-5 Debugger
from the configuration tree and then click New launch
configuration to create a new configuration.
In the Name field, enter a suitable name for the new
Select the Connection
tab to configure the target connection:
In the Select target panel, select Linux Application Debug > Application Debug with Rewind Support > Connections via undodb-server > Start undodb-server and debug target-resident
Select your RSE connection from
Accept the default values for the
UndoDB-server (TCP) Port.
Select the Files tab to define the
location of the Application on target, Target working directory, and additional
In the Target Configuration panel, enter the location of the Application
on target and the Target working directory.
In the Files panel, enter or select the location of the files on the
target that you want the debugger to use to load additional debug
information. If required, you can also specify other files on the host
that you want to download to the target.
Note: Options in the Files tab
are dependent on the type of debug operation that you select.
Select the Debugger tab
to configure the debugger settings.
In the Run control panel, specify the actions that you
want the debugger to perform after connecting to the target.
In the Host working directory panel, configure the host
working directory or use the default.
In the Paths panel, specify any source or library
search directories on the host that the debugger uses when it displays
If required, use the Arguments tab
to enter arguments that are passed to the application when the debug session
If required, use the Environment tab to create and configure the target environment
variables that are passed to the application when the debug session
Click Apply to save the
Click Debug to connect
to the target.
When connected, you are presented with all the relevant views and
For more information on these options, press F1 on your keyboard to display dynamic context