Debugger

Debugger CF 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   ); } 


C# in a Nutshell
C # in a Nutshell, Second Edition
ISBN: 0596005261
EAN: 2147483647
Year: 2005
Pages: 963

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net