DebuggableAttribute Constructor (Boolean, Boolean)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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 Sub New ( _
    isJITTrackingEnabled As Boolean, _
    isJITOptimizerDisabled As Boolean _
public DebuggableAttribute(
    bool isJITTrackingEnabled,
    bool isJITOptimizerDisabled


  • isJITOptimizerDisabled
    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.

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

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0


Windows Phone

See Also


DebuggableAttribute Class

DebuggableAttribute Overload

System.Diagnostics Namespace