Skip to main content

IAR Embedded Workbench for Arm 10.10.x

Starting a debug session from the command line

このセクションの内容:

You can start a debug session from the command line by invoking the IDE from the command line in the same way that you run C-SPY in batch mode. The difference is that when you launch C-SPY by invoking the IDE, you launch a regular debug session in the IDE:s graphical interface, and not a command line batch session.

To start a debug session in the GUI from the command line, you use exactly the same command line as for starting cspybat, except that you replace cspybat with iaride --launch. For reference information about the invocation syntax, see 呼び出し構文. To see a list of possible commands, invoke iaride with the --help command: iaride --launch --help. The iaride application is located in the common/bin folder of the installation.

A simple way of launching C-SPY this way is to save existing settings from a debug session as described in Saving and loading debugger launch settings and specify this command line:

iaride --launch --launch_file path

where path is the path to the launch configuration file.