Methods | This Package | All Packages
Provides a set of utility functions for debugging code.
package com.ms.wfc.util
public class Debug
Remarks
By using methods in the Debug class to print debugging information and check your logic with assertions, you can make your code more robust without impacting your shipping product's performance.
Methods in the Debug class generally fall into four categories:
By default, output is routed to the Output window within the Visual Studio Designer. If the application is launched from a command line, the output is directed to a console window. You can redirect the output from within Visual Studio by setting custom properties. The output directory can be specified in the Compile tab in the Project Properties dialog box.
You can redirect the output to a file using the /out command-line switch when running builds from the command line. By default, command-line errors are displayed in a message box.
See Also Debugging Applications