Configure visual Studio to debug the. NET Framework source code 1th/2 Page _ Practical Tips

Source: Internet
Author: User
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
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.