Files
eiffel-org/documentation/current/eiffelstudio/eiffelstudio-how-tos/running-and-debugging/setting-command-line-arguments.wiki
jfiat 2780526eae Author:admin
Date:2008-09-25T16:19:15.000000Z


git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@44 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
2008-09-25 16:19:15 +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. }}