DebuggableAttribute コンストラクター

定義

DebuggableAttribute クラスの新しいインスタンスを初期化します。

オーバーロード

DebuggableAttribute(DebuggableAttribute+DebuggingModes)

Just-In-Time (JIT) コンパイラに対して指定したデバッグ モードを使用して、DebuggableAttribute クラスの新しいインスタンスを初期化します。

DebuggableAttribute(Boolean, Boolean)

Just-In-Time (JIT) コンパイラに対して指定した追跡オプションおよび最適化オプションを使用して、DebuggableAttribute クラスの新しいインスタンスを初期化します。

DebuggableAttribute(DebuggableAttribute+DebuggingModes)

ソース:
DebuggableAttribute.cs
ソース:
DebuggableAttribute.cs
ソース:
DebuggableAttribute.cs

Just-In-Time (JIT) コンパイラに対して指定したデバッグ モードを使用して、DebuggableAttribute クラスの新しいインスタンスを初期化します。

public:
 DebuggableAttribute(System::Diagnostics::DebuggableAttribute::DebuggingModes modes);
public DebuggableAttribute (System.Diagnostics.DebuggableAttribute.DebuggingModes modes);
new System.Diagnostics.DebuggableAttribute : System.Diagnostics.DebuggableAttribute.DebuggingModes -> System.Diagnostics.DebuggableAttribute
Public Sub New (modes As DebuggableAttribute.DebuggingModes)

パラメーター

modes
DebuggableAttribute.DebuggingModes

JIT コンパイラのデバッグ モードを指定する DebuggableAttribute.DebuggingModes 値のビットごとの組み合わせ。

注釈

パラメーター値が DebuggableAttribute(DebuggableAttribute+DebuggingModes) のコンストラクターをmodes呼び出すことは、パラメーター値 trueが のコンストラクターをDebuggableAttribute(Boolean, Boolean)呼び出すこととisJITTrackingEnabledDefaultじです。

適用対象

DebuggableAttribute(Boolean, Boolean)

ソース:
DebuggableAttribute.cs
ソース:
DebuggableAttribute.cs
ソース:
DebuggableAttribute.cs

Just-In-Time (JIT) コンパイラに対して指定した追跡オプションおよび最適化オプションを使用して、DebuggableAttribute クラスの新しいインスタンスを初期化します。

public:
 DebuggableAttribute(bool isJITTrackingEnabled, bool isJITOptimizerDisabled);
public DebuggableAttribute (bool isJITTrackingEnabled, bool isJITOptimizerDisabled);
new System.Diagnostics.DebuggableAttribute : bool * bool -> System.Diagnostics.DebuggableAttribute
Public Sub New (isJITTrackingEnabled As Boolean, isJITOptimizerDisabled As Boolean)

パラメーター

isJITTrackingEnabled
Boolean

デバッグを有効にするには true。それ以外の場合は false

isJITOptimizerDisabled
Boolean

実行のためのオプティマイザーを無効にするには true。それ以外の場合は false

注釈

このコンストラクターは、 プロパティ IsJITTrackingEnabledIsJITOptimizerDisabledを設定します。

isJITTrackingEnabledパラメーター値が のtrue場合、ランタイムはコード生成中にデバッガーにとって重要な情報を追跡します。値のfalse場合、追跡は行われませんが、デバッグは防止されません。 このパラメーターは、.NET Framework バージョン 2.0 には影響しません。 バージョン 2.0 では、メソッド内のネイティブ コード オフセットに対する Microsoft 中間言語 (MSIL) オフセットである JIT 追跡情報が常に生成されます。

isJITOptimizerDisabledのパラメーター値trueはデバッグ用に最適化され、 のfalse値は実行用に最適化されます。

適用対象