Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2004-10-18
2
Medium Priority
?
229 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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 Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

618 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