Configure Visual Studio to debug. net framework source code page 1/2

Source: Internet
Author: User

Procedure
Note that this feature is not supported in Visual Studio 2008 Express.
1) install Visual Studio 2008 QFE. This QFE only updates the DLL of the Visual Studio debugger to obtain the source code,
For more details, see the download page.
2) Run Visual Studio 2008 to expand Tools> Options> Debugging> General. If you are in the Visual Basic Profile environment
Run, you need to mark the lower left of the Options Dialog as "Show All Settings", and then continue (other configurations do not have this option ).
Set the following two settings:
Disable "Enable Just My Code" Settings
Enable "Enable Source Server Support" Settings

Your settings are shown below:

3) Next, select the "Symbols" Page and set the symbolic download URL and cache location. Set the following three configurations:
Set the location of the symbol file:Http://referencesource.microsoft.com/symbols
Set the cache location. Ensure that your account can read and write this location. A good suggestion is to set this path to open the "Search the above locations only when symbols are loaded manually" option.
As shown in

The settings are complete.
Debug the source code of the framework
In this example, we start with an empty C # Windows Application project, which can also work on VB, Web, or WPF projects. Create this project:
Set a breakpoint on Form_Load:

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.