DiagramDebugger

StockSharp.Diagram

図コンポジット要素のデバッガ。

継承元: Disposable

実装: IDebugger, IPersistable, IDisposable

コンストラクター

DiagramDebugger
public DiagramDebugger(CompositionDiagramElement composition)
diagramDebugger = DiagramDebugger(composition)

DiagramDebugger の新規インスタンスを初期化します。

composition
複合要素。

プロパティ

Breakpoints
public IEnumerable<DiagramSocketBreakpoint> Breakpoints { get; }
value = diagramDebugger.Breakpoints

ブレイクポイント(データ伝送が停止するソケット)。

CanStepInto
public bool CanStepInto { get; }
value = diagramDebugger.CanStepInto
CanStepOut
public bool CanStepOut { get; }
value = diagramDebugger.CanStepOut
Composition
public CompositionDiagramElement Composition { get; private set; }
value = diagramDebugger.Composition
diagramDebugger.Composition = value

複合要素。

ExecBlock
public object ExecBlock { get; }
value = diagramDebugger.ExecBlock
HoverBlock
public object HoverBlock { get; }
value = diagramDebugger.HoverBlock
IsDisabled
public bool IsDisabled { get; set; }
value = diagramDebugger.IsDisabled
diagramDebugger.IsDisabled = value

、デバッガが使われている場合。 それ以外の場合は .

IsWaitingOnError
public bool IsWaitingOnError { get; }
value = diagramDebugger.IsWaitingOnError
IsWaitingOnInput
public bool IsWaitingOnInput { get; }
value = diagramDebugger.IsWaitingOnInput

, デバッグが図要素のエントリで停止している場合. それ以外の場合, .

IsWaitingOnOutput
public bool IsWaitingOnOutput { get; }
value = diagramDebugger.IsWaitingOnOutput

, デバッグが図の要素の終了時に停止している場合. それ以外の場合は .

Root
public CompositionDiagramElement Root { get; }
value = diagramDebugger.Root

根本的な図要素。

メソッド

AddBreak
public bool AddBreak(DiagramSocket socket)
result = diagramDebugger.AddBreak(socket)

ソケットにブレークポイントを追加するには。

socket
ソケット。

戻り値: 動作結果。

Continue
public void Continue()
diagramDebugger.Continue()

続行します。

DisposeManaged
protected override void DisposeManaged()
diagramDebugger.DisposeManaged()

リソースのリリース

IsBreak
public bool IsBreak(DiagramSocket socket)
result = diagramDebugger.IsBreak(socket)

ソケットがブレークポイントかどうか。

socket
ソケット。

戻り値: ソケットがブレークポイントである場合、そうでなければ。

Load
public void Load(SettingsStorage storage)
diagramDebugger.Load(storage)

設定をロードします。

storage
設定ストレージ。
RemoveAllBreaks
public void RemoveAllBreaks()
diagramDebugger.RemoveAllBreaks()

スキームからすべてのブレイクポイントを削除します。

RemoveBreak
public bool RemoveBreak(DiagramSocket socket)
result = diagramDebugger.RemoveBreak(socket)

ソケットからブレイクポイントを外す。

socket
ソケット。

戻り値: 動作結果。

Save
public void Save(SettingsStorage storage)
diagramDebugger.Save(storage)

設定を保存します。

storage
設定ストレージ。
StepInto
public void StepInto()
diagramDebugger.StepInto()
StepNext
public void StepNext()
diagramDebugger.StepNext()
StepOut
public void StepOut()
diagramDebugger.StepOut()

手順アウト

TryGetBreakpoint
public bool TryGetBreakpoint(DiagramSocket socket, DiagramSocketBreakpoint breakpoint)
result = diagramDebugger.TryGetBreakpoint(socket, breakpoint)

ソケットでブレイクポイントを取得する。

socket
担当: 佐藤 宏
breakpoint
担当: 佐藤 宏

戻り値: 動作結果。

イベント

Added
public event Action<DiagramSocket> Added
diagramDebugger.Added += handler

ブレイクポイントイベントを追加

Break
public event Action<DiagramSocket> Break
diagramDebugger.Break += handler

休憩所で停止するイベント。

Changed
public event Action Changed
diagramDebugger.Changed += handler

協会が変更されました。

CompositionChanged
public event Action<CompositionDiagramElement> CompositionChanged
diagramDebugger.CompositionChanged += handler

ダイアグラムコンポジット要素がイベントを変更します。

Continued
public event Action Continued
diagramDebugger.Continued += handler
Error
public event Action<DiagramElement> Error
diagramDebugger.Error += handler

エラーで停止するイベント。

Removed
public event Action<DiagramSocket> Removed
diagramDebugger.Removed += handler

ブレイクポイントイベントを解除します。