?
Solved

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

Posted on 2004-10-18
2
Medium Priority
?
224 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 500 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
In this post we will learn different types of Android Layout and some basics of an Android App.
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.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

770 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