7.9 Running a script

Use the Scripts view to run a script in DS-5. You can run a script file immediately after the debugger connects to the target.

Procedure

  1. To run a script from Eclipse:
    1. Launch Eclipse.
    2. Configure a connection to the target.

      Note:

      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, in the Debugger tab of the DS-5 Debug Configuration dialog box, select the appropriate script file option. See Debug Configurations - Debugger tab for more information.
    3. Connect to the target.
  2. After your target is up and running, select the scripts that you want to execute and click the Execute Selected Scripts button.
    Figure 7-5 Scripts view
    Scripts view


    Note:

    Debugger views are not updated when commands issued in a script are executed.
Non-ConfidentialPDF file icon PDF versionARM 100953_0527_00_en
Copyright © 2010–2017 ARM Limited or its affiliates. All rights reserved.