Using the Diagnostic System
CCF 2009 SP1 provides the CCF Debugger Quick Start that you can implement in your Agent Desktop to monitor applications. The CCF Debugger can be implemented as a hosted application in the Agent Desktop. The following image shows CCF Debugger implemented as a hosted application in the Agent Desktop:
The CCF Debugger helps developers and administrators to easily examine the CCF tracing and diagnostic information for debugging and troubleshooting purposes. The output area displays the tracing and diagnostic information with time stamps.
You can configure the level of tracing and diagnostic detail that is displayed in the debugger in the AgentDesktop.exe.config:
<system.diagnostics>
<switches>
<!--
Possible values for switches: Off, Error, Warning, Info, Verbose
Verbose: includes Error, Warning, Info, Trace levels
Info: includes Error, Warning, Info levels
Warning: includes Error, Warning levels
Error: includes Error level
-->
<add name="Microsoft.Ccf.Common.Logging" value="Verbose" />
</switches>
</system.diagnostics>
The type and detail of information displayed in the debugger depends on the system diagnostic switch.
Examples of data that are shown by “Verbose” but not by “Info”:
- Desktop loading success
- Loading hosted apps and adapters
- Adding , closing, and switching sessions
- Automation Adapter initialization and context change
Examples of data that are shown by “Info” but not by “Warning”:
- WF Automation Manager startup complete
- WF automation started and completed
Note
The Context change information is common for all the system diagnostic switches.