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
, if it is possible to go inside of the current method. Otherwise, .
CanStepOut
public bool CanStepOut { get; }
value = diagramDebugger.CanStepOut
, if it is possible to go outside from the current method. Otherwise, .
Composition
public CompositionDiagramElement Composition { get; private set; }
value = diagramDebugger.Composition
diagramDebugger.Composition = value
複合要素。
ExecBlock
public object ExecBlock { get; }
value = diagramDebugger.ExecBlock
Current executing block.
HoverBlock
public object HoverBlock { get; }
value = diagramDebugger.HoverBlock
Current hover block.
IsDisabled
public bool IsDisabled { get; set; }
value = diagramDebugger.IsDisabled
diagramDebugger.IsDisabled = value
、デバッガが使われている場合。 それ以外の場合は .
IsWaitingOnError
public bool IsWaitingOnError { get; }
value = diagramDebugger.IsWaitingOnError
, if the debugger is stopped at the error. Otherwise, .
IsWaitingOnInput
public bool IsWaitingOnInput { get; }
value = diagramDebugger.IsWaitingOnInput
, デバッグが図要素のエントリで停止している場合. それ以外の場合, .
IsWaitingOnOutput
public bool IsWaitingOnOutput { get; }
value = diagramDebugger.IsWaitingOnOutput
, デバッグが図の要素の終了時に停止している場合. それ以外の場合は .
メソッド
AddBreak
public bool AddBreak(DiagramSocket socket)
result = diagramDebugger.AddBreak(socket)
ソケットにブレークポイントを追加するには。
- socket
- ソケット。
戻り値: 動作結果。
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
- 設定ストレージ。
TryGetBreakpoint
public bool TryGetBreakpoint(DiagramSocket socket, DiagramSocketBreakpoint breakpoint)
result = diagramDebugger.TryGetBreakpoint(socket, breakpoint)
ソケットでブレイクポイントを取得する。
- socket
- 担当: 佐藤 宏
- breakpoint
- 担当: 佐藤 宏
戻り値: 動作結果。
イベント
CompositionChanged
public event Action<CompositionDiagramElement> CompositionChanged
diagramDebugger.CompositionChanged += handler
ダイアグラムコンポジット要素がイベントを変更します。
Continued
public event Action Continued
diagramDebugger.Continued += handler
The event of continue execution.
Removed
public event Action<DiagramSocket> Removed
diagramDebugger.Removed += handler
ブレイクポイントイベントを解除します。