Using regtrace.exe with a debugger

Regtrace.exe is a tool that is used to enable tracing in the following ad and discount components:

  • CacheManager

  • CSFLoadAdvertisements

  • CSFLoadCampaignsCommon

  • CSFLoadDiscount

  • EvalTargetGroups

  • OrderDiscount

To use regtrace.exe

  1. Click Start, and then click Run.

  2. In the Run dialog box, type regtrace.exe, and then click OK.

  3. In the Trace Settings dialog box, on the Traces tab, select the levels of tracing you want.

  4. On the Output tab, select Debugger (OutputDebugString).

  5. Click OK.

  6. You must now connect a debugger such as WinDBG or Visual C++ 6.0, to the process where your site code is running. As the components are read by the tool, trace messages will be logged and will appear in the debugger.

If trace messages are not being logged, perform an Internet Information Services (IIS) Reset and connect to the debugger again.

Ee784629.note(en-US,CS.10).gifNote

  • When you enable tracing, performance is adversely affected. You should disable tracing when you are not using it.


All rights reserved.