Monday, May 07, 2012

Using DebugView with BizTalk for debugging

DebugView is used to view trace messages output by an application on Windows. (get it from:http://technet.microsoft.com/en-us/sysinternals/bb896647).

Once you have downloaded and have DebugView running, you need to instrument your BizTalk process to perform tracing. The easiest way to do this, is to insert an Expression shape onto your orchestration and add the following code into the expression:

System.Diagnostics.Trace.WriteLine("Hello World");

In DebugView, make sure that you have capturing enabled for Global Win32 (“Capture” ==> “Capture Global Win32”). When you start the capture, you should see trace information.

No comments:

Post a Comment

Remember, if you want me to respond to your comment, then you need to use a Google/OpenID account to leave the comment.