Table of Contents

Interface IDebugger

Namespace
Ecng.ComponentModel
Assembly
Ecng.ComponentModel.dll

The interfaces describes debugger.

public interface IDebugger : IPersistable, IDisposable
Inherited Members
Extension Methods

Properties

CanStepInto

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

bool CanStepInto { get; }

Property Value

bool

CanStepOut

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

bool CanStepOut { get; }

Property Value

bool

ExecBlock

Current executing block.

object ExecBlock { get; }

Property Value

object

HoverBlock

Current hover block.

object HoverBlock { get; }

Property Value

object

IsDisabled

false, if the debugger is used. Otherwise, true.

bool IsDisabled { get; set; }

Property Value

bool

IsWaitingOnError

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

bool IsWaitingOnError { get; }

Property Value

bool

IsWaitingOnInput

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

bool IsWaitingOnInput { get; }

Property Value

bool

IsWaitingOnOutput

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

bool IsWaitingOnOutput { get; }

Property Value

bool

Methods

Continue()

Continue.

void Continue()

RemoveAllBreaks()

Remove all breakpoints from the code.

void RemoveAllBreaks()

StepInto()

Step into the method.

void StepInto()

StepNext()

To go to the next line.

void StepNext()

StepOut()

Step out from the method.

void StepOut()

Events

BlockChanged

The event of the bock changed.

event Action<object> BlockChanged

Event Type

Action<object>

Break

The event of the stop at the breakpoint.

event Action<object> Break

Event Type

Action<object>

Changed

The event of changes breakpoints.

event Action Changed

Event Type

Action

Continued

The event of continue execution.

event Action Continued

Event Type

Action

Error

The event of the stop at the error.

event Action<object> Error

Event Type

Action<object>