Files
eiffel-org/documentation/15.12/eiffelstudio/eiffelstudio-how-tos/running-and-debugging/setting-command-line-arguments.wiki
eiffel-org ce5124d06a created 15.12 documentation branch
git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1492 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
2016-02-02 14:04:46 +00:00

16 lines
873 B
Plaintext

[[Property:title|Setting the command line arguments]]
[[Property:weight|6]]
[[Property:uuid|4aed0363-4aa9-89ce-aaa7-6dce00410afb]]
To debug a program that uses command line parameters, it is possible to have the debugger call the generated program with certain command line arguments automatically.
To change the command line arguments used when debugging:
* Open the Debug, Debugging Options Dialog
* In this dialog, you can change the current arguments and also store and load argument sets.
* Click '''OK'''.
{{tip|To get the command line arguments in a program, it is possible to either define the root feature as taking an array of [[ref:/libraries/base/reference/string_8_chart|STRING_8]] objects, or to use the [[ref:/libraries/base/reference/arguments_chart|ARGUMENTS]] class, which provides a lot of functionality linked with command line arguments. }}