7.8 Running a script

Describes how to run a script from Eclipse.


  1. To run a script from Eclipse:
    • You can run a script file immediately after the debugger connects to the target.
      1. Launch Eclipse.
      2. Configure a connection to the target. A DS-5 Debugger configuration can include the option to run a script file immediately after the debugger connects to the target. To do this select the script file in the Debugger tab of the DS-5 Debug configuration dialog box.
      3. Connect to the target.
    • Run a script file whilst a debug session is in progress.
      • In the Scripts view you can use script files:
        1. Import one or more script files in the order that you want them to be executed.
        2. Select the scripts that you want to execute.
        3. Click on the Execute Selected Scripts toolbar icon.
          Figure 7-5 Scripts view
          Scripts view

      • In the Commands view you can use the DS-5 Debugger source command.
Related concepts
7.4 About Jython scripts
Related tasks
7.6.1 Creating a new Jython project in Eclipse for DS-5
7.6.2 Configuring an existing project to use the DS-5 Jython interpreter
7.7 Creating a Jython script
Related reference
7.1 Exporting DS-5 Debugger commands generated during a debug session
7.2 Creating a DS-5 Debugger script
7.3 Creating a CMM-style script
11.6 Commands view
11.13 History view
11.21 Scripts view
7.5 Jython script concepts and interfaces
11.37 Script Parameters dialog box
Related information
DS-5 Debugger commands
Non-ConfidentialPDF file icon PDF versionARM DUI0446W
Copyright © 2010-2015 ARM. All rights reserved.