DebuggableAttribute コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
DebuggableAttribute クラスの新しいインスタンスを初期化します。
オーバーロード
| 名前 | 説明 |
|---|---|
| DebuggableAttribute(DebuggableAttribute+DebuggingModes) |
Just-In-Time (JIT) コンパイラの指定したデバッグ モードを使用して、 DebuggableAttribute クラスの新しいインスタンスを初期化します。 |
| DebuggableAttribute(Boolean, Boolean) |
Just-In-Time (JIT) コンパイラの指定した追跡および最適化オプションを使用して、 DebuggableAttribute クラスの新しいインスタンスを初期化します。 |
DebuggableAttribute(DebuggableAttribute+DebuggingModes)
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)
パラメーター
JIT コンパイラのデバッグ モードを指定する DebuggableAttribute.DebuggingModes 値のビットごとの組み合わせ。
注釈
DebuggableAttribute(DebuggableAttribute+DebuggingModes)のmodesパラメーター値を使用してDefaultコンストラクターを呼び出すことは、DebuggableAttribute(Boolean, Boolean)のisJITTrackingEnabled パラメーター値を使用してtrueコンストラクターを呼び出すことと同じです。
適用対象
DebuggableAttribute(Boolean, Boolean)
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。
注釈
このコンストラクターは、プロパティの IsJITTrackingEnabled と IsJITOptimizerDisabledを設定します。
isJITTrackingEnabledのtrueパラメーター値を指定すると、ランタイムはコードの生成中にデバッガーにとって重要な情報を追跡します。false値を指定すると追跡は行われませんが、デバッグは妨げられます。 このパラメーターは、.NET Framework バージョン 2.0 には影響しません。 バージョン 2.0 では、JIT 追跡情報は、メソッド内のネイティブ コード オフセットへのMicrosoft中間言語 (MSIL) オフセットが常に生成されます。
isJITOptimizerDisabledのtrueパラメーター値はデバッグ用に最適化され、falseの値は実行用に最適化されます。