Basic steps
Note that this feature is not supported in the Visual Studio 2008 Express Edition.
1 Install Visual Studio 2008 QFE. This QFE just updates a DLL for the Visual Studio debugger so that you can get the source code,
More details to participate in the download page.
2 run Visual Studio 2008 to expand Tools->options->debugging->general in turn. If you are in the Visual Basic profile environment
To run, you need to mark the lower left of the options dialog as "Show All Settings" and continue (no other configuration has this option).
Set the following two settings:
Turn off the Enable Just my Code setting
Open the Enable Source Server Support setting
Your settings will look like the following:
3 Next, select the "Symbols" page, and then set the symbol download URL and cache location. Set the following three configurations:
To set the symbol file location:http://referencesource.microsoft.com/symbols
Sets the cache location. Make sure your account reads and writes to this location. A good suggestion is to set this path to open the "Search the above locations only when symbols are loaded manually" option
When you have finished setting up, you should see the following figure
Setup is complete.
Debug the source code into the frame
With this example, we started with an empty C # Windows Application project, which also works on Vb,web or WPF projects. Create this project:
To set a breakpoint on a form_load:
Current 1/2 page
12 Next read the full text