473,512 Members | 15,196 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Possible to debug with Command Line parameters in Visual Studio Express?

Hi I'm playing around with the main method signature, and testing
reading of command line paramaters.

At the moment i have to build the solution, go to a command prompt,
navigate to the folder, and then run the program. To test it.

Is there a way i can tell MS Visual Studio Express to run the program
in the IDE's debugger, with a given set of command line arguments?

Thanks,

Gary-

Dec 19 '06 #1
2 4187
I've managed to find the answer for anyone that needs it.

It's a setting you can specify in the properties for the project -
under start options.
Gary-

Dec 19 '06 #2
[Project] -Properties -Debug -Start Options -Command lne
arguments:

Or... for debugging purposes you could just switch the Main()
method... swap it with a dummy that calls your real code (now "Main2"
or something) with the desired options... the latter also allows you
to do lots of test cases in one sweep

Marc
Dec 19 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1360
by: Sharon P | last post by:
how do I set command line parameters in the .Net IDE so I can debug my App ? thank you , Sharon
2
387
by: Bootstrap Bill | last post by:
A new Google group has been formed for the purpose of discussing the new Visual Studio Express products. http://groups-beta.google.com/group/Visual-Studio-Express The products are currently in...
1
1042
by: Rajiv Das | last post by:
Hi, This is the first time I am using managed cpp. However, I am unable to find how to get the command line parameters to the main function in both the console and the Application version. The IDE...
2
1236
by: R.H. | last post by:
I only have a dialup connection and I was wondering if someone knows where I can buy the CD or DVD with the new Visual Studio Express versions. I would download them, but it would take weeks at...
5
1425
by: John Prado | last post by:
It's possible to generate dll for deployment of projects (for my code behind files)??? I can't find any option to do this in Visual Studio Express. Need I to compile the pages in command...
2
1057
by: loga123 | last post by:
Hi All, I am using Microsoft Visual Web Developer Studio 2005 Express Edition. I have been using it for the past few months and all of sudden today, it started to behave in a strange manner. ...
0
1143
by: olrt | last post by:
Hello, I installed 4 monthes ago Visual C# Express,VB.NET Express and Web Developer Express. I followed the classic install from the Internet installation procedure. I would like to know if...
3
5183
by: Velislav | last post by:
Hi, I've got a setup project which installs SQL Server Express as a prerequisite to my program. The problem is that by default it's installed using the SQLEXPRESS instance name and Windows...
1
2155
by: sundarvenkata | last post by:
Is multi-targeting possible using Visual Studio Express? If not, do I have any other options to target a 1.1 framework using Visual Studio Express? Thanks for your help, Sundar
0
7252
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7153
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7432
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7517
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5676
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5077
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3230
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
452
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.