Export (0) Print
Expand All

DebuggableAttribute Constructor

.NET Framework 1.1

Sets the conditions to control code generation for runtime just-in-time (JIT) debugging.

[Visual Basic]
Public Sub New( _
   ByVal isJITTrackingEnabled As Boolean, _
   ByVal isJITOptimizerDisabled As Boolean _
)
[C#]
public DebuggableAttribute(
   bool isJITTrackingEnabled,
 bool isJITOptimizerDisabled
);
[C++]
public: DebuggableAttribute(
   bool isJITTrackingEnabled,
 bool isJITOptimizerDisabled
);
[JScript]
public function DebuggableAttribute(
   isJITTrackingEnabled : Boolean,
 isJITOptimizerDisabled : Boolean
);

Parameters

isJITTrackingEnabled
true to enable debugging; otherwise, false.
isJITOptimizerDisabled
true to disable the optimizer for execution; otherwise, false.

Remarks

Sets the properties IsJITTrackingEnabled and IsJITOptimizerDisabled.

A isJITTrackingEnabaled 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.

A isJITOptimizerDisabled value of true optimizes for debugging, a value of false optimizes for execution.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

DebuggableAttribute Class | DebuggableAttribute Members | System.Diagnostics Namespace

Show:
© 2015 Microsoft