Returns collection of breakpoints.public BreakpointList Breakpoint_ListRead only.
Returns call stack.public CallStack Call_StackRead only.
Returns current line (at compile-time or at run-time).public string CurrentLineRead only.
Returns current line number (at compile-time or at run-time).public int CurrentLineNumberRead only.
Example
for (;;) { paxScripter1.Run(RunMode.TraceInto); MessageBox.Show(string.Format("Line{0}: {1}", paxScripter1.CurrentLineNumber, paxScripter1.CurrentLine)); .................................
Returns name of current module (at compile-time or at run-time).public string CurrentModuleNameRead only.
Returns collection of errors.public ErrorList Error_ListRead only.
Example
foreach (ScriptError err in paxScripter1.Error_List) { MessageBox.Show(string.Format("Error at {0} stage: {1}. Line {2}: {3}", paxScripter1.State, err.Message, err.LineNumber, err.Line)); }
Returns 'true' if scripter contains errors.public bool HasErrorsRead only.
Returns 'true' if scripter contains warnings.public bool HasWarningsRead only.
Returns list of modules.public ModuleList Module_ListRead only.
Returns state of scripter.public ScripterState State public enum ScripterState { None, Init, // scripter does not contain any module ReadyToCompile, // contains modules and code Compiling, // compiles ReadyToLink, // ready to link Linking, // linkes compiled code ReadyToRun, // ready to run Running, // runs program Terminated, // program has been terminated Paused, // program has been paused Error // error has raised };Read only.
Returns compile time warning list.public ErrorList Warning_ListRead only.
Example
foreach (ScriptError err in paxScripter1.Warning_List) { MessageBox.Show(string.Format("Warning {0}. Line {1}: {2}", err.Message, err.LineNumber, err.Line)); }