DebuggableAttribute.IsJITTrackingEnabled 属性

定义

获取指示运行时是否将在代码生成过程中跟踪调试器信息的值。Gets a value that indicates whether the runtime will track information during code generation for the debugger.

public:
 property bool IsJITTrackingEnabled { bool get(); };
public bool IsJITTrackingEnabled { get; }
member this.IsJITTrackingEnabled : bool
Public ReadOnly Property IsJITTrackingEnabled As Boolean

属性值

Boolean

如果运行时将在代码生成过程中跟踪调试器的信息,则为 true,否则为 falsetrue if the runtime will track information during code generation for the debugger; otherwise, false.

注解

IsJITTrackingEnabled 控制运行时是否在代码生成过程中跟踪对调试器重要的信息。IsJITTrackingEnabled controls whether the runtime tracks information important to the debugger during code generation. 此信息有助于调试器提供丰富的调试体验。This information helps the debugger provide a rich debugging experience.

从 .NET Framework 2.0 开始,调试过程中始终启用 JIT 跟踪信息,并且忽略此属性值。Starting with the .NET Framework 2.0, JIT tracking information is always enabled during debugging, and this property value is ignored.

备注

此属性不控制调试功能,但会告诉实时 (JIT) 编译器生成跟踪信息。This property does not control the ability to debug, but tells the just-in-time (JIT) compiler to generate tracking information. 具体而言,编译器将跟踪 Microsoft 中间语言 (MSIL) 偏移方法内的本机代码偏移量。Specifically, the compiler tracks the Microsoft Intermediate Language (MSIL)-offset to the native-code offset within a method.

适用于