Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Connie DeCinko 931 posts 1160 karma points
    Sep 29, 2010 @ 20:59
    Connie DeCinko
    0

    How to debug Packages?

    I'm trying to debug a couple broken packages, packages that seem to run fine for others but not on our site.  I added breakpoints to the package but Umbraco seems to be ignoring them.  How can I go about setting breakpoints in a package and debugging it?

     

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Sep 30, 2010 @ 08:30
    Sebastiaan Janssen
    0

    I am not sure where you've set the breakpoints. I'm assuming you've downloaded the source code of the package and you've opened it in Visual Studio. If the symbols (.pdb) file of the dll is available in your umbraco install then you can attach Visual Studio to your worker process and it should hit the breakpoints that you've set.

  • Connie DeCinko 931 posts 1160 karma points
    Sep 30, 2010 @ 17:13
    Connie DeCinko
    0

    I did download the source code, added a breakpoint, copied the .dll and the .pdb file to the server.  I'm fairly new to .NET so don't know how to attach VS to the worker process.

     

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Sep 30, 2010 @ 17:23
    Sebastiaan Janssen
    0

    CTRL+SHIFT+P, make sure that "Show processes on all sessions" is check ON and select w3wp.exe in the list, then click the Attach button. 

    If there's multiple w3wp's you can identify them by the app pool that your site is running in (User Name column), or you could just try them all.. :)

    Hope this helps!

Please Sign in or register to post replies

Write your reply to:

Draft