Skip to main content

IAR Embedded Workbench for Arm 10.10.x

Saving and loading debugger launch settings

このセクションの内容:

When you launch a debug session, C-SPY can read parameters and settings from a JSON structure, a launch configuration. You can specify this structure to C-SPY using either a cspybat command line option, or in the IDE project options. C-SPY can also read the configuration from stdin.

To specify the launch configuration in the IDE
  1. Choose Project>Options>Debugger>Debug Launcher and navigate to the launch configuration file using the browse button by the launch.json file option.

  2. Select the option Load debugger settings from file.

    The contents of the file will be validated and any errors will be reported. If the file contains more than one configuration, you can select which one to use. The contents will also be displayed.

To save your current C-SPY settings as a launch configuration file for later use, choose Debug>Launch Configuration>Export as JSON. You can also use the iarbuild command line tool to generate the file. The launch configuration JSON file can also be used with CMake projects that have been added to the IAR Embedded Workbench IDE, and with Visual Studio Code.

For more information, see: