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)

Syntax

Public Sub New ( _
    isJITTrackingEnabled As Boolean, _
    isJITOptimizerDisabled As Boolean _
)
public DebuggableAttribute(
    bool isJITTrackingEnabled,
    bool isJITOptimizerDisabled
)

Parameters

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

Remarks

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

Platforms

Windows Phone

See Also

Reference

DebuggableAttribute Class

DebuggableAttribute Overload

System.Diagnostics Namespace