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 に対応します。 トレース レベルとブレーク レベルを個別に設定して、デバッグ中断レベルよりも高いトレース レベルを必要とする一般的なシナリオを実現できます。

レイアウト サイクルのクラッシュが迫っている場合、このデバッグ中断レベルは、レイアウト関連の操作に対してネイティブ デバッガー ブレークポイントがトリガーされるタイミングを決定するために使用されます。

デバッガー のブレークポイントは、デバッガーで実行されていない場合、またはマネージド デバッガーでのみアタッチされている場合に、プロセスのクラッシュを回避するためにネイティブ デバッガーがプロセスにアタッチされている場合にのみトリガーされます。

適用対象

こちらもご覧ください