Re: runnning a program with parameters under ddd using gdb debugger

"shaunak saha" <[email protected]>
Newsgroups gmane.comp.debugging.ddd.general
Message-ID <[email protected]>
Hi Yuri,

DDD determine the inferior debugger automatically from its command line
arguments.

To start your c++ program with arguments you can use:
ddd --args  <name__of_the_program> <program_arguments>

Or else you start ddd with the only the program name:

ddd <Program_name>

then from the ddd command line use:

set args <program_arguments>  to set the arguments to your program.


Hope that helps.

Regards,
Shaunak

_______________________________________________
ddd mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/ddd
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.