Re: command line arguments..

Robert Cussons <[email protected]>
Newsgroups gmane.comp.debugging.ddd.general
Message-ID <[email protected]>
Fred Krogh wrote:
> [email protected] wrote:
>>
>> I am trying to debug a standalone Ansi C executable the requires 2
>> command line arguments to run.    I can’t seem to figure out how in
>> ddd to supply input arguments.   I have worked around this by hard
>> coding values in the program to satisfy the input requirements.   Is
>> there a  way once you load your source code into ddd to provide some
>> kind of command line arg
>>
> The "Program" menu button, then the "Run" button, the put in your
> arguments where indicated.
> Fred
> 

Or:

run -a test1 -b test2

in the bottom window, where:

-a is the first option

test1 is its argument

-b is the second option

and test2 its argument

Just another way :-)
Rob.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.