Partilhar via


Using the XMLTracer Pipeline Component

The XMLTracer pipeline component is a troubleshooting and debugging tool that outputs the contents of the OrderForm object to a log file during any stage of pipeline execution. You can add the XMLTracer pipeline component to any stage of any pipeline. Indeed, you may want to add more than one instance of the XMLTracer component. For example, you can add the XMLTracer component both before and after another component that seems to be behaving other than expected and thereby generate before and after snapshots of the OrderForm object. For step-by-step instructions for adding this or any pipeline component to a pipeline, see How to Add a Component to a Pipeline.

You can use XMLTracer to help troubleshoot pipeline-related issues that may occur in a production deployment. For example, you can use it as an aid in diagnosing problems that occur intermittently or only under heavy server load. Compared to pipeline logging, it has low overhead because it takes advantage of the Event Tracing for Windows (ETW) infrastructure. Turning on pipeline logging requires a site restart, but you can enable the XMLTracer pipeline component on the fly without resetting the state of the application.

In This Section

See Also

Other Resources

How to Add a Component to a Pipeline

Troubleshooting Pipelines