IDebugger

Ecng.ComponentModel

The interfaces describes debugger.

Реализует: IPersistable, IDisposable

Свойства

CanStepInto
public bool CanStepInto { get; }
value = iDebugger.CanStepInto

, if it is possible to go inside of the current method. Otherwise, .

CanStepOut
public bool CanStepOut { get; }
value = iDebugger.CanStepOut

, if it is possible to go outside from the current method. Otherwise, .

ExecBlock
public object ExecBlock { get; }
value = iDebugger.ExecBlock

Current executing block.

HoverBlock
public object HoverBlock { get; }
value = iDebugger.HoverBlock

Current hover block.

IsDisabled
public bool IsDisabled { get; set; }
value = iDebugger.IsDisabled
iDebugger.IsDisabled = value

, if the debugger is used. Otherwise, .

IsWaitingOnError
public bool IsWaitingOnError { get; }
value = iDebugger.IsWaitingOnError

, if the debugger is stopped at the error. Otherwise, .

IsWaitingOnInput
public bool IsWaitingOnInput { get; }
value = iDebugger.IsWaitingOnInput

, if the debugger is stopped at the entry of the diagram element. Otherwise, .

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

, if the debugger is stopped at the exit of the diagram element. Otherwise, .

Методы

Continue
public void Continue()
iDebugger.Continue()

Continue.

RemoveAllBreaks
public void RemoveAllBreaks()
iDebugger.RemoveAllBreaks()

Remove all breakpoints from the code.

StepInto
public void StepInto()
iDebugger.StepInto()

Step into the method.

StepNext
public void StepNext()
iDebugger.StepNext()

To go to the next line.

StepOut
public void StepOut()
iDebugger.StepOut()

Step out from the method.

События

BlockChanged
public event Action<object> BlockChanged
iDebugger.BlockChanged += handler

The event of the block changed.

Break
public event Action<object> Break
iDebugger.Break += handler

The event of the stop at the breakpoint.

Changed
public event Action Changed
iDebugger.Changed += handler

The event of changes breakpoints.

Continued
public event Action Continued
iDebugger.Continued += handler

The event of continue execution.

Error
public event Action<object> Error
iDebugger.Error += handler

The event of the stop at the error.