Visual Studio Additional process debugging

Source: Internet
Author: User

    1. Build a WebApplication project and add Default.aspx page
    2. Add an IIS Web site
    3. Open the page, Task Manager started the process: w3wp.exe
    4. Attach process, way: vs-Debug-Attach Process
    5. The browser opens the page default.aspx, at which point the breakpoint is entered and you can debug

First step: Build a WebApplication project and add Default.aspx page

Step Two: Add an IIS Web site, physical address, point to the project path, for example: D:\Documents\visual Studio 2013\projects\webapplication3\webapplication3

Step three: Open the page, Task Manager started the process: w3wp.exe

Fourth step: Attach process, Mode: vs-Debug-Attach Process

Note that the process w3wp.exe cannot be found at this time. Turn off vs, start vs with Administrator, open the previous WebApplication project, click vs-Debug-Attach process, you can find the process

The fifth step: The browser opens the page default.aspx, this time enters the breakpoint, may debug

Visual Studio Additional process debugging

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.