Specifies the debugging mode for the just-in-time (JIT) compiler.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
<FlagsAttribute> _ <ComVisibleAttribute(True)> _ Public Enumeration DebuggingModes
Dim instance As DebuggableAttribute.DebuggingModes
[FlagsAttribute] [ComVisibleAttribute(true)] public enum DebuggingModes
[FlagsAttribute] [ComVisibleAttribute(true)] public enum class DebuggingModes
public enum DebuggingModes
The DebuggableAttribute..::.DebuggingModes enumeration specifies how the runtime is to track information important to the debugger during code generation. This information helps the debugger provide a rich debugging experience. In the .NET Framework version 2.0, calling the DebuggableAttribute(DebuggableAttribute..::.DebuggingModes) constructor with a modes parameter value of Default is equivalent to calling the DebuggableAttribute(Boolean, Boolean) constructor with an isJITTrackingEnabled parameter value of true in the .NET Framework version 1.1. Unlike version 1.1, version 2.0 does not allow you to turn off tracking by the just-in-time (JIT) compiler. JIT tracking is always enabled for debuggable files.
Sequence points are used to indicate locations in the Microsoft intermediate language (MSIL) code that a debugger user will expect to be able to refer to uniquely, such as for setting a breakpoint. The JIT compiler ensures it does not compile the MSIL at two different sequence points into a single native instruction. By default, the JIT compiler examines the symbol store in the program database (PDB) file for a list of additional sequence points. However, loading the PDB file requires that the file be available and has a negative performance impact. In version 2.0, compilers can emit "implicit sequence points" in the MSIL code stream through the use of MSIL "nop" instructions. Such compilers should set the IgnoreSymbolStoreSequencePoints flag to notify the common language runtime to not load the PDB file.
This enumeration is primarily used by language developers. It is generally not used in application development. Development environments use DebuggableAttribute..::.DebuggingModes based on compiler parameters such as /debug and /optimize.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC, Xbox 360, Zune