Serving the Quantitative Finance Community

 
User avatar
TheDiesel
Topic Author
Posts: 0
Joined: March 4th, 2007, 11:53 pm

Visual Studio C# debugging question...

February 14th, 2009, 2:49 pm

Is there any function of visual studio that allows you to see the values of data members of objects?I'm testing a program and I'm trying to avoid writing a test bed to insure it is working properly.Any suggestions?
 
User avatar
DrBen
Posts: 7
Joined: February 8th, 2003, 1:24 pm

Visual Studio C# debugging question...

February 17th, 2009, 3:54 pm

Add another project to your solution which consumes the DLL from the main project within a simple console client or similar. Then run the client is bugging mode, right click on client project > Debug (or similar).... When it hits a problem if will let you have the variable values at that point. Hope this helps,Ben