DebuggableAttribute 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
DebuggableAttribute 클래스의 새 인스턴스를 초기화합니다.
오버로드
| Name | Description |
|---|---|
| DebuggableAttribute(DebuggableAttribute+DebuggingModes) |
JIT(Just-In-Time DebuggableAttribute ) 컴파일러에 대해 지정된 디버깅 모드를 사용하여 클래스의 새 인스턴스를 초기화합니다. |
| DebuggableAttribute(Boolean, Boolean) |
JIT(Just-In-Time DebuggableAttribute ) 컴파일러에 대해 지정된 추적 및 최적화 옵션을 사용하여 클래스의 새 인스턴스를 초기화합니다. |
DebuggableAttribute(DebuggableAttribute+DebuggingModes)
JIT(Just-In-Time DebuggableAttribute ) 컴파일러에 대해 지정된 디버깅 모드를 사용하여 클래스의 새 인스턴스를 초기화합니다.
public:
DebuggableAttribute(System::Diagnostics::DebuggableAttribute::DebuggingModes modes);
public DebuggableAttribute(System.Diagnostics.DebuggableAttribute.DebuggingModes modes);
new System.Diagnostics.DebuggableAttribute : System.Diagnostics.DebuggableAttribute.DebuggingModes -> System.Diagnostics.DebuggableAttribute
Public Sub New (modes As DebuggableAttribute.DebuggingModes)
매개 변수
JIT 컴파일러에 DebuggableAttribute.DebuggingModes 대한 디버깅 모드를 지정하는 값의 비트 조합입니다.
설명
DebuggableAttribute(DebuggableAttribute+DebuggingModes) 매개 변수 값을 사용하여 modes 생성자를 호출하는 것은 매개 변수 값 Defaulttrue이 DebuggableAttribute(Boolean, Boolean) 있는 생성자를 호출하는 isJITTrackingEnabled 것과 같습니다.
적용 대상
DebuggableAttribute(Boolean, Boolean)
JIT(Just-In-Time DebuggableAttribute ) 컴파일러에 대해 지정된 추적 및 최적화 옵션을 사용하여 클래스의 새 인스턴스를 초기화합니다.
public:
DebuggableAttribute(bool isJITTrackingEnabled, bool isJITOptimizerDisabled);
public DebuggableAttribute(bool isJITTrackingEnabled, bool isJITOptimizerDisabled);
new System.Diagnostics.DebuggableAttribute : bool * bool -> System.Diagnostics.DebuggableAttribute
Public Sub New (isJITTrackingEnabled As Boolean, isJITOptimizerDisabled As Boolean)
매개 변수
- isJITTrackingEnabled
- Boolean
true디버깅을 사용하도록 설정하려면 그렇지 않으면 . false
- isJITOptimizerDisabled
- Boolean
설명
이 생성자는 속성을 IsJITTrackingEnabledIsJITOptimizerDisabled설정하고 .
매개 변수 값 true 은 isJITTrackingEnabled 런타임이 코드 생성 중에 디버거에 중요한 정보를 추적하도록 합니다. 결과 값 false 은 추적되지 않지만 디버깅을 방지하지는 않습니다. 이 매개 변수는 .NET Framework 버전 2.0에는 영향을 주지 않습니다. 버전 2.0에서는 메서드 내의 네이티브 코드 오프셋에 대한 MSIL(Microsoft 중간 언어) 오프셋인 JIT 추적 정보가 항상 생성됩니다.
isJITOptimizerDisabled 디버깅을 위한 최적화의 true 매개 변수 값입니다. 실행 최적화 값 false 입니다.