ddd
[Top][All Lists]
Advanced

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

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


From: shaunak saha
Subject: Re: runnning a program with parameters under ddd using gdb debugger
Date: Fri, 2 Jan 2009 15:38:23 +0530

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


reply via email to

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