This is a great feature, that in most cases overlooked, because maps can become very large, to the point that is difficult to read, very difficult to maintain and detect some problems.
For many, the ability to debug maps is a new feature in BizTalk Server 2009, because finally, it has a particular emphasis on the Menu, but that is not true, because BizTalk Server 2006 R2 or even BizTalk Server 2016 they will also have the same capability.
Debugging maps in BizTalk Server 2009
- Right-click on the map file, and now you have a new Item “Debug Map”, next to “Test Map” and “Validate Map” items
You will get the possibility to debug the actual XSLT that BizTalk generates and also the possibility to debug scripts, functoids and other custom code.
Debugging maps in BizTalk Server 2006 or 2006 R2
Visual Studio 2005 has a great feature that enables you to debug BizTalk Map:
- Right-click the BizTalk map and select “Validate Map“
- In the output window you’ll see a link to the .xsl, click on the link to bring it up in VS
- Right-click the .xsl and select “View Source“
- At that point, you can set breakpoints in your .xsl
- Then select “XML –> Debug XSLT” – at which point you’ll be able to step thru the XSLT