Copied to clipboard

Flag this post as spam?

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


  • Jacob Jensen 40 posts 60 karma points
    Nov 16, 2011 @ 09:46
    Jacob Jensen
    0

    Cant debug in visual studio

    Hi.

    Iwe made an solution in visual studio (2010), with a website (umbraco), and a class library with reference to umbraco and visa versa.

    Iam using xslt extensions, but if i press start debugging with a breakpoint in my classlibrary visual studio dont stop and let me debug the request?

    Does any one have a clue ?

    Best regards
    Jacob

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Nov 16, 2011 @ 09:57
    Dirk De Grave
    0

    Jacob,

    you don't actually need a solution containing a umbraco website. Here's setup I use for most of my projects... I create a solution and all of my custom code in a class library, also referencing the umbraco assemblies.

    As soon as you want to debug your custom code, add some breakpoints, attach to the w3wp.exe process in visual studio, then browse your website and your breakpoint will get hit...

     

    Hope this helps.

    Regards,

    /Dirk

  • Jacob Jensen 40 posts 60 karma points
    Nov 16, 2011 @ 09:59
    Jacob Jensen
    0

    Perfect !!

    Thx alot !

  • Matt Parkinson 12 posts 65 karma points
    Mar 27, 2014 @ 12:52
    Matt Parkinson
    0

    Check for a .pdb file next to your applications .dll and check the date modified times are the same, if not check you have debug (under settings) selected when you publish.

    This is what I did when it wasn't working for me, hope this help others.

Please Sign in or register to post replies

Write your reply to:

Draft