locked
How to debug a ashx.cs file RRS feed

  • Question

  • User-114084758 posted

    Hi all,

    I have ImpersonateList.ashx.cs file and i would like to debug the code so i can step through. However, i am unable to hit any of the break points? I place a breakpoint in and it appears red (no problem with sysmbols loading etc) but when i attach to process i am unable to hit it and inspect whats happening

    Please someone help

    My class inherits from ihttphandler

    /// <summary>
        /// Returns a json string of impersonate users to populate the impersonate dropdown
        /// </summary>
        public class ImpersonateList : IHttpHandler

    Cheers
    Paul

    Friday, April 24, 2015 3:44 PM

All replies

  • User1622957740 posted

    Make sure your Web project is the startup project and that this project has ASP.NET debugging enabled in the Debug options. Also double check the project's output path and make sure you rebuild the project. You might want to clean project and then rebuild to ensure the latest code is there.

    +++ Rick ---

    Monday, June 29, 2015 2:59 PM