473,406 Members | 2,847 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Debugging across applications

I have an application that has to take numerous different command line
options. I wrote an app launcher to call into it (by creating a
process, setting the filename/arguments and then starting it).

However, while my debugging goes into the app launcher, it doesn't
follow into the application itself. Is there any way to make it do so,
other than attaching to the process once its running (which is
incredibly slow).

Cheers,

Andy D

Jun 2 '06 #1
3 1595
Andrew Ducker wrote:
I have an application that has to take numerous different command line
options. I wrote an app launcher to call into it (by creating a
process, setting the filename/arguments and then starting it).

However, while my debugging goes into the app launcher, it doesn't
follow into the application itself. Is there any way to make it do so,
other than attaching to the process once its running (which is
incredibly slow).


You can set command line parameters to be used while debugging your
application. Go to the project properties for your application,
Configuration Properties, Debugging. There you can specify command line
arguments under the start options.
--
Tom Porterfield

Jun 2 '06 #2
Tom Porterfield wrote:
You can set command line parameters to be used while debugging your
application. Go to the project properties for your application,
Configuration Properties, Debugging. There you can specify command line
arguments under the start options.


Cheers Tom. I know I _can_ do this, but when the command line
parameters can vary a lot and I have big list of different ones for
recreating different situations, I don't find this terribly efficient.
I really need something to allow me to pick and choose different
command line options, or at least choose from the last n ones that I
used.

Andy

Jun 2 '06 #3

Is it possible to add a DEBUG region in the startup of your program, and
in that region, read a configuration file?

In that way, you could have 30 different configuration files for the
variety of command line arguments, and you could prompt yourself to
choose a config file at startup (or you could put it in the command line
args in VS)

It just seems to me that if there are that many arguments, maybe a
configuration file might help.

--Brian

Andrew Ducker wrote:
Tom Porterfield wrote:
You can set command line parameters to be used while debugging your
application. Go to the project properties for your application,
Configuration Properties, Debugging. There you can specify command line
arguments under the start options.


Cheers Tom. I know I _can_ do this, but when the command line
parameters can vary a lot and I have big list of different ones for
recreating different situations, I don't find this terribly efficient.
I really need something to allow me to pick and choose different
command line options, or at least choose from the last n ones that I
used.

Andy

Jun 2 '06 #4

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

Similar topics

0
by: ZMan | last post by:
Scenario: This is about debugging server side scripts that make calls to middle-tier business DLLs. The server side scripts are legacy ASP 3.0 pages, and the DLLs are managed DLLs...
7
by: Rich Denis | last post by:
Hello, I have been trying to solve a mysterious memory leak problem and was hoping that you could help me out on my stuck point. First a bit of background. We have two app servers in an app...
7
by: Doug | last post by:
An ASP.NET session cookie set on "www.mydomain.com" can not be accessed on "search.mydomain.com"; hence, a new session and cookie are being created on every sub-domain. This is occuring because...
6
by: KevinGPO | last post by:
I am currently developing a website in ASP (VBScript) using MS Visual C#.NET IDE. I just create a new "ASP.NET Web Application" and point to my local webserver (IIS) of my website address. Then I...
0
by: Ken Allen | last post by:
The MSDN documentation on remote debugging is a bit sparse, to say the least, and there is almost no information available on the 'best' way to configure this. I should note that my development...
5
by: phnimx | last post by:
Hi , We have developed a number of plug-in .NET Library Components that we typically deploy with our various applications by installing them into the GAC. Each of the applications contains an...
5
by: John Henry | last post by:
I am back against the wall trying to migrate my multithreaded application from Python 2.3 to 2.5. The part of the code that's failing has to do with queues (2.3 queues and 2.5 queues are not the...
4
by: dbee | last post by:
Right. I've got a really, really annoying/difficult/time consuming problem with my development environment. I'm using django to build a web app with paypal integration. My server is hosted...
0
by: Sreenath Rao Nellutla | last post by:
Hi, All I developed applications named WebApplication2, WebApplication3, WebApplication4 and WebApplication5 on one system. When I wanted to test the applications on the other system Im getting...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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
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,...

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.