Lab 5: Debugging Commerce Server 2002 in ASP .NET
Commerce Server 2002 supports several methods for the tracing and logging of code execution to help troubleshoot problems that may occur.
You can enable tracing on different objects within the hierarchy to view execution problems that may not have generated complete exceptions, but may have unexpectedly altered the results of a given operation.
You can also enable pipeline logging to view when pipelines are being executed, and what is triggering them. For example, you can view users as they are processed by the pipeline components (logfilename==user_id). You can also view internal pipeline component operations such as the fields that are being processed, and their values.
In this lab you will learn how to debug Commerce Server 2002 pipeline components, and utilize DebugContext object(s).
This lab contains the following steps:
- Step 1: Commerce Server 2002 Pipeline Logging and Debugging
- Step 2: Using the DebugContext and ConsoleDebugContext Objects
Copyright © 2005 Microsoft Corporation.
All rights reserved.