Hi expert,I try to test the new umbraco V6 RC on my local machine.To make it simple, I just create a empy web application in Visual Studio 2012 then drop the Umbraco folder in it. After adding umbraco folder with a Includ in projet option, i create a simple HelloWorld usercontrol.My site run into IIS8 and I use the Simple Starter kit.When I try to debug my usercontrol, all work good.But when I try to debug a custom xslt file or the sliderImage xslt file in VS. The breakpoint indicate "symbol not loaded" and do not break in.I run VS in administrator mode. I try the "attach to process" or just F5 debuggind without success.Any suggestion?
debuggin xslt with VS2012
Hi expert,I try to test the new umbraco V6 RC on my local machine.To make it simple, I just create a empy web application in Visual Studio 2012 then drop the Umbraco folder in it. After adding umbraco folder with a Includ in projet option, i create a simple HelloWorld usercontrol.My site run into IIS8 and I use the Simple Starter kit.When I try to debug my usercontrol, all work good.But when I try to debug a custom xslt file or the sliderImage xslt file in VS. The breakpoint indicate "symbol not loaded" and do not break in.I run VS in administrator mode. I try the "attach to process" or just F5 debuggind without success.Any suggestion?
You wont be able to debug a xslt file :). The best thing to do to debug, is to use,
<textarea>
<xsl:copy-of select="$currentPage"></xsl:copy-of>
</textarea>
This will give you all the xml that was loaded for the current page :)
Hi Pierre
Why are you trying to debug the XSLT file? Does it give you some errors when rendering the website, or what is the reason you want to debug it?
Looking forward to hearing from you.
/Jan
Hi PierreD,
Debugging XSLT files in VS2012 definitely does work. Strange that it works for User Controls, but not XSLT files.
Double-check your Web.config, make sure that "umbracoDebugMode" AppSetting is set to "true" and "debug=true" in the "system.web/compilation" section.
... before I forget, which version of VS2012 are you using? I have a sneaky feeling that it might only work in Pro (or above).
Cheers, Lee.
is working on a reply...