11.42 Debug Configurations - Arguments tab

If your application accepts command-line arguments to main(), specify them using the Arguments tab in the Debug Configurations dialog box.

The Arguments tab contains the following elements:

Note

These settings only apply if the target supports semihosting and they cannot be changed while the target is running.
Program Arguments
This panel enables you to enter the arguments. Arguments are separated by spaces. They are passed to the target application unmodified except when the text is an Eclipse argument variable of the form ${var_name} where Eclipse replaces it with the related value.
For a Linux target, you might have to escape some characters using a backslash (\) character. For example, the @, (, ), ", and # characters must be escaped.
Variables...
This button opens the Select Variable dialog box where you can select variables that are passed to the application when the debug session starts. For more information on variables, use the dynamic help.
Apply
Save the current configuration. This does not connect to the target.
Revert
Undo any changes and revert to the last saved configuration.
Debug
Connect to the target and close the Debug Configurations dialog box.
Close
Close the Debug Configurations dialog box.
Figure 11-48 Arguments tab
Arguments tab

Related reference
16.5 About passing arguments to main()
3.15 Using semihosting to access resources on the host computer
3.16 Working with semihosting
Related information
DS-5 Debugger commands
Non-ConfidentialPDF file icon PDF versionARM DUI0446W
Copyright © 2010-2015 ARM. All rights reserved.