DebuggerCF 1.0

System.Diagnostics (mscorlib.dll)sealed class

This class enables you to control the debugger from the debugged code. If a debugger is executing your code, IsAttached returns true. Break( ) sets a breakpoint and causes the debugger to pause. Log( ) logs output to the debugger window. The Launch( ) method launches the debugger and attaches it to your process, returning true if successful or if the debugger is already attached. Launch( ) returns false if the debugger could not be attached.

public sealed class Debugger {
// Public Constructors
   public Debugger( );
// Public Static Fields
   public static readonly string DefaultCategory;
// Public Static Properties
   public static bool IsAttached{get; }
// Public Static Methods
   public static void Break( );
   public static bool IsLogging( );
   public static bool Launch( );
   public static void Log(int level, string category, string message);

    Part II: Programming with the .NET Framework
    Part IV: API Quick Reference
    Chapter 26. System