DebuggableAttribute Constructor (Boolean, Boolean)

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)

public DebuggableAttribute(
	bool isJITTrackingEnabled,
	bool isJITOptimizerDisabled


Type: System.Boolean
true to enable debugging; otherwise, false.
Type: System.Boolean
true to disable the optimizer for execution; otherwise, false.

An isJITTrackingEnabled parameter value of true causes the runtime to track information that is important to the debugger during code generation; a value of false results in no tracking, but does not prevent debugging. In the .NET Framework for Silverlight, JIT tracking information is always generated. This makes it possible for the debugger to match up a chain of Microsoft intermediate language (MSIL) with its machine code counterpart, and to track where local variables and function arguments are stored.

An isJITOptimizerDisabled parameter value of true optimizes for debugging; a value of false optimizes for execution.


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions