C# Class EsotericIDE.ExecutionEnvironment

Inheritance: IDisposable
Datei anzeigen Open project: Timwi/EsotericIDE

Public Properties

Property Type Description
State ExecutionState

Protected Properties

Property Type Description
_breakpoints List
_locker object
_output StringBuilder
_resetEvent System.Threading.ManualResetEvent
_runner Thread
_txtWatch System.Windows.Forms.TextBox

Public Methods

Method Description
AddBreakpoint ( int index ) : void
ClearBreakpoints ( ) : void
Continue ( bool blockUntilFinished = false ) : void
Dispose ( ) : void
InitializeWatchWindow ( ) : Control
RemoveBreakpoint ( int index ) : bool
SetWatchWindowFont ( FontSpec font ) : void
UpdateWatch ( ) : void

Protected Methods

Method Description
GetProgram ( ) : IEnumerable
Run ( ) : void
fireDebuggerBreak ( Position position ) : void
fireExecutionFinished ( bool canceled, RuntimeError error ) : void

Method Details

AddBreakpoint() public method

public AddBreakpoint ( int index ) : void
index int
return void

ClearBreakpoints() public method

public ClearBreakpoints ( ) : void
return void

Continue() public method

public Continue ( bool blockUntilFinished = false ) : void
blockUntilFinished bool
return void

Dispose() public method

public Dispose ( ) : void
return void

GetProgram() protected method

protected GetProgram ( ) : IEnumerable
return IEnumerable

InitializeWatchWindow() public method

public InitializeWatchWindow ( ) : Control
return System.Windows.Forms.Control

RemoveBreakpoint() public method

public RemoveBreakpoint ( int index ) : bool
index int
return bool

Run() protected method

protected Run ( ) : void
return void

SetWatchWindowFont() public method

public SetWatchWindowFont ( FontSpec font ) : void
font FontSpec
return void

UpdateWatch() public abstract method

public abstract UpdateWatch ( ) : void
return void

fireDebuggerBreak() protected method

protected fireDebuggerBreak ( Position position ) : void
position Position
return void

fireExecutionFinished() protected method

protected fireExecutionFinished ( bool canceled, RuntimeError error ) : void
canceled bool
error RuntimeError
return void

Property Details

State public_oe property

public ExecutionState State
return ExecutionState

_breakpoints protected_oe property

protected List _breakpoints
return List

_locker protected_oe property

protected object _locker
return object

_output protected_oe property

protected StringBuilder _output
return StringBuilder

_resetEvent protected_oe property

protected ManualResetEvent,System.Threading _resetEvent
return System.Threading.ManualResetEvent

_runner protected_oe property

protected Thread _runner
return Thread

_txtWatch protected_oe property

protected TextBox,System.Windows.Forms _txtWatch
return System.Windows.Forms.TextBox