Nibble

Debugging .net usercontrols

After adding custom .net usercontrols to your umbraco site, you might want to debug them.

Only thing you need to do is attach to the w3wp.exe process with visual studio.

image

Just Tools/Attach to process or ctr+alt+p, then select w3wp and hit attach.

5 Comments so far

  1. Warren Buckley on May 19th, 2008

    Hello Tim,
    This tip seems a bit sparse of details.

    Can I debug a .NET usercontrol on a remote umbraco site, or is this for a site running in Visual Studio or a site running locally via IIS?

    If you could provide some more detailed steps for this, I would appreciate it.

    Thanks,
    Warren

  2. Tim Geyssens on May 19th, 2008

    Hi Warren,

    This works with a umbraco site running locally

  3. Si on May 26th, 2008

    Hi Tim,

    Could you send me an email so that I can contact you.

    Thanks

  4. Tim Geyssens on May 26th, 2008

    Hi, you can contact me at info(at)nibble(dot)be

    Cheers,
    Tim

  5. Sanky on July 1st, 2008

    Hi
    I have a user control which is loaded as webpart in Sharepoint.How can I debug it.Please help.

Leave a Reply