The main purpose of writing this is to show how debugging is easy. Orchestration debugging is possible through Health and Activity Tracking (HAT) tool. By the help HAT you can easily debug any active or dehydrated orchestration. Once an instance of an orchestration executes and encounters one of these breakpoints, it will go into a wait state in the BizTalk MessageBox, allowing a developer or administrator to manually step through the orchestration.
Run BizTalk application at least one time and then follow the steps.
· Open the Health and Activity Tracking tool.
· Select "Most recent 100 service instance" from queries and select "Yes".
· Right-Click on your orchestration that you want to debug.
· Set the breakpoint on the receive class.
· Copy input files in “In” folder and run again Run Query from Query Builder View.
· Right-Click on your orchestration that you want to debug again.
· From debug menu Attach debugger to the orchestration.
Note:You can attach only to orchestrations that have not completed. If this is the first time that the orchestration has executed, it will likely have already completed. You may need to start a new instance before the orchestration will pause on a breakpoint that has been set.
User should be a member of BizTalk Server Administrators Group.
No comments:
Post a Comment