ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: command line arguments..


From: Robert Cussons
Subject: Re: command line arguments..
Date: Mon, 23 Jun 2008 08:21:05 +0200
User-agent: Icedove 1.5.0.14eol (X11/20080509)

Fred Krogh wrote:
> address@hidden 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]