Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Novice ? - How to pass args in debug? 1

Status
Not open for further replies.

ZemogSC

Programmer
Sep 29, 2003
30
US
Someone sent me some code to test, and it requires arguments to be passed to it at execution time. I know how to do this from a command line (MyProg arg1 arg2 etc), but how do I pass the arguments when doing a debug.

I normally rebuild my prog, then use the "step into" method to see what the program is doing. BUt if I do this, the program starts automatically, and no arguments are passed (and I don't see anyway to pass them once the program begins to execute).

I am very new to C++ programming, so be kind. I'm sure there is a simple answer, but I just can't figure it out.

Thanks in advance.

Rich
 
You can do that in the Project settings dialog (debug tab).

Greetings,
Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top