*
Microsoft *
Shared Source Initiative  

Configuring Microsoft Reference Source Code Center

Configuring Microsoft Visual Studio for local debugging of Reference Source

Set Up Visual Studio 2008:

a. Install and set up Visual Studio 2008 including any updates.

Install Reference Source

a) Download Reference Source Code Center.
b) Install Reference Source to any arbitrary location say 'C:\ReferenceSource'.

Set Up the Symbols Path:

a. Launch Visual Studio 2008.
b. From the Tools menu, choose Options.
c. In the Options dialog box, open the Debugging node and select General
   - Uncheck "Enable Just My Code (Managed only)"
   - Check "Enable source server support"
   - Uncheck "Require source files to exactly match the original version"

d. Select Symbols under Debugging.
In the Symbol File Locations box, validate the location where the installed symbol files (.pdb) are present. If not, then add the downloaded symbols location :
C:\ReferenceSource\Symbols

Note: To add the Symbols path Click folder icon.

e. Click the OK button.

Debugging your Application

a. Open your application code solution and build the solution.
b. Set a break point in the code.
c. Start debugging (press F5).

Note

In case debugging is not working:
a. Launch Visual Studio 2008.
b. From the Tools menu, choose Options.
c. In the Options dialog box, open the Debugging node and select Symbols under Debugging.
e. Click the OK button.


© 2008 Microsoft Corporation. All rights reserved.