Debug Configurations - Arguments tab

If your application accepts command-line arguments to main(), you can specify the values to pass to the application when execution starts.

The Arguments tab in the Debug Configurations dialog box enables you to enter arguments that are passed to the application.


The settings in this tab are not used for connections that use the Connect to already running gdbserver debug operation.

The Arguments tab contains the following elements:

Program Arguments

This panel enables you to enter the arguments. Arguments 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.


This button opens the Select Variable dialog box where you can select variables that are passed to the application when the debug session starts.


Save the current configuration. This does not connect to the target.


Undo any changes and revert to the last saved configuration.


Connect to the target and close the Debug Configurations dialog box.


Close the Debug Configurations dialog box.

Figure 63. Application arguments configuration

Application arguments configuration

Show/hideSee also

Copyright © 2010, 2011 ARM. All rights reserved.ARM DUI 0446G