Share via


DebugSettings.LayoutCycleDebugBreakLevel 속성

정의

디버거 중단점을 트리거하는 레이아웃 주기 추적 이벤트의 수준을 나타내는 값을 가져오거나 설정합니다.

public:
 property LayoutCycleDebugBreakLevel LayoutCycleDebugBreakLevel { LayoutCycleDebugBreakLevel get(); void set(LayoutCycleDebugBreakLevel value); };
LayoutCycleDebugBreakLevel LayoutCycleDebugBreakLevel();

void LayoutCycleDebugBreakLevel(LayoutCycleDebugBreakLevel value);
public LayoutCycleDebugBreakLevel LayoutCycleDebugBreakLevel { get; set; }
var layoutCycleDebugBreakLevel = debugSettings.layoutCycleDebugBreakLevel;
debugSettings.layoutCycleDebugBreakLevel = layoutCycleDebugBreakLevel;
Public Property LayoutCycleDebugBreakLevel As LayoutCycleDebugBreakLevel

속성 값

디버거 중단점을 트리거하는 이벤트를 추적하는 레이아웃 주기의 수준을 나타내는 열거형 값입니다. 기본값은 None입니다.

예제

public App() { this. InitializeComponent();

#if DEBUG DebugSettings.LayoutCycleTracingLevel = LayoutCycleTracingLevel.High; DebugSettings.LayoutCycleDebugBreakLevel = LayoutCycleDebugBreakLevel.Low; #endif }

설명

이 디버그 중단 수준은 DebugSettings.LayoutCycleTracingLevel에 해당합니다. 추적 및 중단 수준을 독립적으로 설정하여 디버그 중단 수준보다 더 높은 추적 수준을 원하는 일반적인 시나리오를 사용하도록 설정할 수 있습니다.

레이아웃 주기 크래시가 임박한 것으로 나타나면 이 디버그 중단 수준은 레이아웃 관련 작업에 대해 네이티브 디버거 중단점이 트리거되는 시기를 결정하는 데 사용됩니다.

디버거 중단점은 네이티브 디버거가 프로세스에 연결되어 디버거에서 실행되지 않거나 관리되는 디버거로만 연결된 경우에만 프로세스가 충돌하지 않도록 트리거됩니다.

적용 대상

추가 정보