Advanced debugging skills for ASP. NET

Source: Internet
Author: User
For a project, you cannot set the start page to press F5 for debugging,
The reason is: the relationship between various webpages is too strong, and there are a lot of items to be verified. It is difficult to perform debugging (in fact, it cannot be performed in my project)

Then, we will use another debugging method:
Menu Bar → debug → process → select: w3wp.exe (it is a system process. Remember to check the display system process check box; otherwise, the process cannot be found) → attach → selectProgramType: select the first CRL and the third script. → OK.

The following is a breakpoint for the Asp.net web page you want to debug. Then, open the URL of the project you want to debug in IE and follow the process to go to the web page you want to debug, we will find that we have stopped at the breakpoint. Let's start debugging! ~~~

Append:
... Maybe you will find a window in the pop-up window: the process cannot be displayed, and the computer debugging Manager service is disabled.
This probability is less than that of ant's death. (usually completed.. net will be started by default, so. net project debugging), I have been in these two days, it seems to be [Yunbo], hitting a windows2003_sp1.
Solution:
Open Control Panel → service → machine debug manager, set this service to automatic upon startup (do not start by pressing the restart key on the chassis)

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.