Solved

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

Posted on 2004-10-18
2
177 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

708 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now