2.2 Launching DS-5 and connecting to DS-5 Debugger

After installing DS-5, use the options relevant to your operating system to launch Eclipse for DS-5. Then, create a debug configuration to connect to DS-5 Debugger.

Procedure

  1. Launch Eclipse for DS-5:
    • On Windows, select Start > All Programs > ARM® DS-5 > Eclipse for DS-5.
    • On Linux:
      • If you installed the DS-5 shortcut during installation, you can select Eclipse for DS-5 from your list of applications.
      • To run DS-5 from the command-line:
        1. Open a command-line terminal.

          Note

          Ensure that DS-5_install_directory/bin/ is available in your PATH environment variable.
        2. Enter eclipse at the prompt.

        Tip

        HandOn Linux, you can also use suite_exec to configure the environment variables correctly for DS-5. Run DS-5_install_directory/bin/suite_exec <shell> to open a shell with the PATH and other environment variables correctly configured. Run suite_exec with no arguments for help. For more information, see Installing DS-5.
  2. Select Window > Open Perspective > DS-5 Debug from the main menu.
  3. To connect to a target:
    • If you have not run a debug session previously, then you must configure a connection between the debugger and the target before you can start any debugging tasks.
    • If you have run a debug session previously, then you can select a target connection in the Debug Control view and click on the Connect to Target toolbar icon.
Related tasks
8.2 Command-line debugger options
2.8.1 Connecting to an existing application and starting an application rewind session
2.8.2 Downloading your application and application rewind server to the target system
2.8.3 Starting the application rewind server and debugging the target-resident application
2.5 Configuring a connection to a Fixed Virtual Platform (FVP) model for Linux application debug
2.6 Configuring a connection to a Linux application using gdbserver
2.7 Configuring a connection to a Linux kernel
2.3 Configuring a connection to a bare-metal hardware target
2.10 Configuring an Events view connection to a bare-metal target
Related reference
2.1 Overview: Debug connections in DS-5 Debugger
11.38 Debug Configurations - Connection tab
11.39 Debug Configurations - Files tab
11.40 Debug Configurations - Debugger tab
11.42 Debug Configurations - Arguments tab
11.43 Debug Configurations - Environment tab
Chapter 11 DS-5 Debug Perspectives and Views
11.7 Debug Control view
Non-ConfidentialPDF file icon PDF versionARM DUI0446W
Copyright © 2010-2015 ARM. All rights reserved.