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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Debugging a legacy project

Status
Not open for further replies.

TrekBiker

Technical User
Nov 26, 2010
330
GB
This follows on from an earlier question.

I've inherited a VB application of unknown version. I only have Visual Studio Express 2010 and this needs to convert the application to allow it to open. I've done this, made some small code changes and rebuilt it. I can run the .exe file in the bin/Debug folder but I need to be able to step through the code to see where it goes. How do I do this?

Or is it a case of setting a break point in Visual Studio itself and starting the debugger here? I'm not all all clear about this because the vbproj file that contains most of the code is in among a number of frm.vb and cls.vb files.
 
You should be able to put a break point on a line of code in Visual Studio, by putting the cursor on that line and hitting the F9 key. Once the breakpoint is hit, you should be able to step through the code with the F10 key (I believe it's F10 for VS 2010; it might be F8.)

I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson

Arrrr, mateys! Ye needs ta be preparin' yerselves fer Talk Like a Pirate Day!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top