DebuggableAttribute

DebuggableAttribute CF 1.0

System.Diagnostics (mscorlib.dll) sealed class

This attribute contains two properties that indicate if code can be debugged . IsJITOptimizerDisabled indicates whether optimization has been turned off, and IsJITTrackingEnabled indicates whether debug symbols have been placed in the code. This attribute is automatically applied by the compiler, with isJITTrackingEnabled set to false and isJITOptimizerDisabled set to true . Use the /debug command-line compiler switch to include debug symbols ( isJITTrackingEnabled=true ), and use /optimize to enable compile-time optimizations ( isJITOptimizerDisabled=false ).

 public sealed class  DebuggableAttribute  : Attribute {  // Public Constructors  public  DebuggableAttribute  (bool   isJITTrackingEnabled   , bool   isJITOptimizerDisabled   );  // Public Instance Properties  public bool  IsJITOptimizerDisabled  {get; }    public bool  IsJITTrackingEnabled  {get; } } 

Hierarchy

System.Object System.Attribute DebuggableAttribute

Valid On

Assembly, Module



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