Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Debugging Options .Net

Status
Not open for further replies.

sweep123

Technical User
Joined
May 1, 2003
Messages
185
Location
GB
With Visual Studio .Net I have a project which was built is run via a batch file. This batch files sets up lots of environmental variables and kicks off the exe file.

But how do you debug this exe?

Are they options within the debugger to handle this situation?

Sweep
 
You should be able to attach to the process while it is executing. Debugging should be possible as long as the exe contains the debug symbols. Please note the use of "should" indicating that i have never tried to do this since i found no reason to.

It may also be possible to provide the environment settings using the debug settings in the project.

If none of the above works why not provide a resource neutral configuration stack implementation. That way you can provide that data using a file or database or whatever you like.

You should not be stopped from debugging because of configuration settings, that’s just not right.


-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top