Solved

Where to add command line options in the debugger (VS.net)?

Posted on 2004-10-18
2
200 Views
Last Modified: 2013-11-20
Hi experts,
I am writing a console project.
I would like to read in several parameters from the command line.
(argv[1-3])
How can I specify this parameters in the debugger in a way that includes
them automatically when I hit F5 (ie run the program).
At the moment I don't know how to specify any command line parameters at all.

myExe.exe param1 param2  //How to set these params in the debugger?
Thanks,
Jens
0
Comment
Question by:allmer
2 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 125 total points
ID: 12342134
>>How can I specify this parameters in the debugger

Go to your project settings, choose the 'Debug' tab and enter them in the appropriate field there.
0
 
LVL 5

Author Comment

by:allmer
ID: 12342287
Perfect jkr,
much easier than I thought it would be :)
Thanks,
Jens
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
bobThere java chalenge 45 92
Installing Microsoft R server on REDHAT or SUSE Linux 4 139
conditional code and condition difference 9 83
sumHeights  challenge 17 71
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question