Search Results for

    Show / Hide Table of Contents

    Class DebuggableAttribute

    Modifies code generation for runtime just-in-time (JIT) debugging. This class cannot be inherited.

    Inheritance
    object
    Attribute
    DebuggableAttribute
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: System.Diagnostics
    Assembly: mscorlib.dll
    Syntax
    [AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Module)]
    public sealed class DebuggableAttribute : Attribute

    Constructors

    DebuggableAttribute(bool, bool)

    Initializes a new instance of the DebuggableAttribute class, using the specified tracking and optimization options for the just-in-time (JIT) compiler.

    Declaration
    public DebuggableAttribute(bool isJITTrackingEnabled, bool isJITOptimizerDisabled)
    Parameters
    Type Name Description
    bool isJITTrackingEnabled

    true to enable debugging; otherwise, false.

    bool isJITOptimizerDisabled

    true to disable the optimizer for execution; otherwise, false.

    DebuggableAttribute(DebuggingModes)

    Initializes a new instance of the DebuggableAttribute class, using the specified debugging modes for the just-in-time (JIT) compiler.

    Declaration
    public DebuggableAttribute(DebuggableAttribute.DebuggingModes modes)
    Parameters
    Type Name Description
    DebuggableAttribute.DebuggingModes modes

    A bitwise combination of the DebuggableAttribute.DebuggingModes values specifying the debugging mode for the JIT compiler.

    Properties

    DebuggingFlags

    Gets the debugging modes for the attribute.

    Declaration
    public DebuggableAttribute.DebuggingModes DebuggingFlags { get; }
    Property Value
    Type Description
    DebuggableAttribute.DebuggingModes

    A bitwise combination of the DebuggableAttribute.DebuggingModes values describing the debugging mode for the just-in-time (JIT) compiler. The default is Default.

    IsJITOptimizerDisabled

    Gets a value that indicates whether the runtime optimizer is disabled.

    Declaration
    public bool IsJITOptimizerDisabled { get; }
    Property Value
    Type Description
    bool

    true if the runtime optimizer is disabled; otherwise, false.

    IsJITTrackingEnabled

    Gets a value that indicates whether the runtime will track information during code generation for the debugger.

    Declaration
    public bool IsJITTrackingEnabled { get; }
    Property Value
    Type Description
    bool

    true if the runtime will track information during code generation for the debugger; otherwise, false.

    Extension Methods

    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    In This Article
    Back to top Copyright © 2023 nanoFramework Contributors
    Generated by DocFX