Initializes a new instance of the DebuggableAttribute class, using the specified tracking and optimization options for the just-in-time (JIT) compiler.
Namespace:
System.Diagnostics
Assembly:
mscorlib (in mscorlib.dll)
Visual Basic (Declaration)
Public Sub New ( _
isJITTrackingEnabled As Boolean, _
isJITOptimizerDisabled As Boolean _
)
Dim isJITTrackingEnabled As Boolean
Dim isJITOptimizerDisabled As Boolean
Dim instance As New DebuggableAttribute(isJITTrackingEnabled, _
isJITOptimizerDisabled)
public DebuggableAttribute(
bool isJITTrackingEnabled,
bool isJITOptimizerDisabled
)
public:
DebuggableAttribute(
bool isJITTrackingEnabled,
bool isJITOptimizerDisabled
)
public function DebuggableAttribute(
isJITTrackingEnabled : boolean,
isJITOptimizerDisabled : boolean
)
Parameters
- isJITTrackingEnabled
- Type: System..::.Boolean
true to enable debugging; otherwise, false.
- isJITOptimizerDisabled
- Type: System..::.Boolean
true to disable the optimizer for execution; otherwise, false.
This constructor sets the properties IsJITTrackingEnabled and IsJITOptimizerDisabled.
An isJITTrackingEnabaled parameter value of true causes the runtime to track information important to the debugger during code generation; a value of false results in no tracking, but does not prevent debugging. This parameter has no effect in the .NET Framework version 2.0. In version 2.0, JIT tracking information, the Microsoft intermediate language (MSIL) offset to the native-code offset within a method, is always generated.
An isJITOptimizerDisabled parameter value of true optimizes for debugging; a value of false optimizes for execution.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC, Xbox 360, Zune
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
.NET Framework
Supported in: 3.5, 3.0, 2.0, 1.1, 1.0
.NET Compact Framework
Supported in: 3.5, 2.0, 1.0
XNA Framework
Supported in: 3.0, 2.0, 1.0
Reference