2.8.1 Connecting to an existing application and starting an application rewind
Use the Connect to already running application option to set up a connection to an existing application rewind server session on your target.
Before connecting to an existing application rewind server session, you
To run the application rewind server and the application on the target, use:
undodb-server --connect-port port
port is a TCP/IP port number of your choice that is used by application
rewind server to communicate with DS-5 Debugger.
path/myApplication is the application that you want to debug.
From the main menu, select DS-5 Debug
to switch to the
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 .
Figure 2-8 Application Debug with Rewind Support - Connect to already running application
Enter the Address of the connection you want to
Enter the UndoDB-server (TCP)
Port that you want to connect to.
Select the Files tab and in the
Files panel, select the files on the host that you
want the debugger to use to load the debug information from. If required, you
can also specify other files on the host that you want to download to the
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
Click Apply to save the
Click Debug to connect to the
When connected, you are presented with all the relevant views and editors.
For more information on these options, press F1 on your keyboard to display dynamic context help.