[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 230
  • Last Modified:

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

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
allmer
Asked:
allmer
1 Solution
 
jkrCommented:
>>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
 
allmerAuthor Commented:
Perfect jkr,
much easier than I thought it would be :)
Thanks,
Jens
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now