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
ソース:
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パラメーター値を使用してDefaultコンストラクターを呼び出すことは、DebuggableAttribute(Boolean, Boolean)isJITTrackingEnabled パラメーター値を使用してtrueコンストラクターを呼び出すことと同じです。

適用対象

DebuggableAttribute(Boolean, Boolean)

ソース:
DebuggableAttribute.cs
ソース:
DebuggableAttribute.cs
ソース:
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を設定します。

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

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

適用対象