Hello, today in found this really awesome XSLT debugging article from Dirk! Thx a lot Dirk for sharing! But it dosn't work with Visual Studio 2010. For example there is no access to the $currentPage node.
So I was all pumped up to start debugging my XSLT code, but then ran into a snag. Like slace mentioned above, XSLT debugging in VS 2010 is messed up. The values don't show when you trace through, and it usually crashed.
I went back to the drawing board and installed Visual Studio 2008. What do you know? It works perfectly. This is just a heads up to anyone else experiencing the same problem.
I have no problem using it in VS2010, so some of your settings must be whacky.
You could have a look at my set-up (it applies to VS2010 as well, even though the screenshots are from VS2008) and see if you get better results implementing some of that.
Thanks! I did mention that blog post specifically as in that set-up, the XSLT debugging works perfectly as well. I am logged in as a user with Admin rights, that may or may not make a difference.
debugging xslt in Visual Studio 2010
Hello,
today in found this really awesome XSLT debugging article from Dirk! Thx a lot Dirk for sharing!
But it dosn't work with Visual Studio 2010.
For example there is no access to the $currentPage node.
Has anyone figured out a solution?
Thx a lot!
Stevo
Note: i use the Visual Studio 2010 Premium (RTM)
Has anyone figured out how to do this out?
I tried creating a new ASP .Net Web Application, adding the XSLT files, compiling, adding the .dll to my /bin, then attaching to process.
The symbols never seem to load.
Has anyone figured out how to debug XSLT in Visual Studio 2010?
I heard that the XSLT debugger in VS2010 has bugs in it and doesn't work right. I haven't managed to get it to work myself
I have been debuggin XSLT in 2010 and don't think I did anything special to set it up.
Are you running 2010 as an Administrator?
YES!! IT WORKS!
Thanks Paul for the info. Turns out you have to right-click Visual Studio, "Run as Administrator"
Sweeeeeeeeet. I can now debug my XSLT in Visual Studio 2010!
So I was all pumped up to start debugging my XSLT code, but then ran into a snag. Like slace mentioned above, XSLT debugging in VS 2010 is messed up. The values don't show when you trace through, and it usually crashed.
I went back to the drawing board and installed Visual Studio 2008. What do you know? It works perfectly. This is just a heads up to anyone else experiencing the same problem.
Here is a screenshot of it working in VS 2008:
I have no problem using it in VS2010, so some of your settings must be whacky.
You could have a look at my set-up (it applies to VS2010 as well, even though the screenshots are from VS2008) and see if you get better results implementing some of that.
Sebastiaan,
Good writeup man. Just to clarify, in this thread we are talking about XSLT.
User controls (C# or VB) work great in 2010.
-Josh
Thanks! I did mention that blog post specifically as in that set-up, the XSLT debugging works perfectly as well. I am logged in as a user with Admin rights, that may or may not make a difference.
is working on a reply...