XLang – Debugging BizTalk from within VS.Net

When developing Orchestrations, you are using a visual designer, which will in effect generate XLang which is handled by the BizTalk Xlang engine. Although the Xlang engine has its own language XLang, it does support some shapes (Expression shapes, Delay) which are compatible with C#. It’s also possible to call .Net assemblies from an Atomic scope, and debug these following the steps; described in this post: Debugging .Net ): Build the external C# library project Add it to the GAC Restart the Host Instance Attach the debugger to the Host instance All great stuff, additionally, you can use the Orchestration debugger ( Orchestration debugger ) which connects to the XLang scheduler, all fine and dandy. When you however, have an orchestration that directly fails, with an error you cannot comprehend, or tracking is disabled, you’re not so happy. Tracking is performed at the persistence points ( Persistence points ). An Expression shape (which does not lead to a...