# Thursday, June 21, 2007
« Team System product group chats on July ... | Main | I am not the Ed B in Today's Daily WTF »

Ouch! Look at this map. I need to see what is happening in some of these functoids. What is a developer to do?????

BadMap

A map is just complex XSL.... So to debug the functoids we need to treat it as such. First, lets Validate our map and get the location of the XSLT.

Validate

Since it validated (no errors) we have the XSLT output location in the Output Window. Copy this location to your clip board. 

Location

Open the file with Visual Studio:

OpenXSLT

Now, right click on your XSL working area and select properties. Here you will enter the input file that will be used for the transform:
InputFile

Mark your break points, just as you would a code file, and start the debug:

DebugXSLT

Now you can step through just as if it was .Net code:

Step1

Even step into the functoid code:

Step2

 

Ed K.

Technorati Tags: ,
posted on Thursday, June 21, 2007 5:06:48 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] Trackback
OpenID
Please login with either your OpenID above, or your details below.
Name
E-mail
(will show your gravatar icon)
Home page

Comment (Some html is allowed: a@href@title, b, blockquote@cite, em, i, strike, strong, sub, sup, u) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview