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 _
public DebuggableAttribute(
   bool isJITTrackingEnabled,
 bool isJITOptimizerDisabled
public: DebuggableAttribute(
   bool isJITTrackingEnabled,
 bool isJITOptimizerDisabled
public function DebuggableAttribute(
   isJITTrackingEnabled : Boolean,
 isJITOptimizerDisabled : Boolean


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


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.


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

© 2015 Microsoft