Extra Options
In this section:
What do you want to do?
Learn how to:
Get related information:
Get reference information about the Extra Options page, see below the line.

The Extra Options page provides you with a command line interface to C-SPY.

Use command line options
Specify command line arguments that are not supported by the IDE to be passed to C-SPY.
Note that it is possible to use the /args option to pass command line arguments to the debugged application.
The syntax is:
/args arg0 arg1 ...
Multiple lines with /args are allowed, for example:
/args ‑‑logfile log.txt
/args ‑‑verbose
If you use /args, these variables must be defined in your application:
/* __argc, the number of arguments in __argv. */
__no_init __root int __argc;
/* __argv, an array of pointers to strings that holds the arguments; must
be large enough to fit the number of parameters.*/
__no_init __root const char * __argv[MAX_ARGS];
/* __argvbuf, a storage area for __argv; must be large enough to hold all
command line parameters. */
__no_init __root char __argvbuf[MAX_ARG_SIZE];