Copied to clipboard

Flag this post as spam?

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


  • Mehtab Malik 21 posts 70 karma points
    Jul 09, 2013 @ 16:59
    Mehtab Malik
    0

    how to debug xstl in vs 2010

    My umbraco 4.0.3 project has been successfully setup to run locally. I m attaching the process using vs 2010 and trying to debug. The break points are getting a hit but I can't see any values in the variable or in quick watch.I m new to xslt debugging. Any how ideas who can we see the values in xslt variables

    thanks

     

  • Sebastian Dammark 581 posts 1385 karma points
    Jul 13, 2013 @ 07:05
    Sebastian Dammark
    0

    The dirty way could be like this

    <textarea>
    <xsl:copy-of select="$variable" />
    </textarea> 

    But that's not in VS then :)

  • Sebastian Dammark 581 posts 1385 karma points
    Jul 13, 2013 @ 22:42
    Sebastian Dammark
    0

    Ohhh ... I forgot to tell you about this one, you can use with your URL.

    ?umbdebugshowtrace=true

    But this requires this line in your web.config in the appSettings part

    <add key="umbracoDebugMode" value="true" />
Please Sign in or register to post replies

Write your reply to:

Draft