/// <summary> /// Creates a LuaObject for an expression which raised an exception instead of returning a value. /// </summary> public LuaEvaluationResult(LuaProcess process, string exceptionText, string expression, LuaStackFrame frame) { _process = process; _expression = expression; _frame = frame; _exceptionText = exceptionText; }
internal LuaThread(LuaProcess process, long identity, bool isWorkerThread) { _process = process; _identity = identity; _isWorkerThread = isWorkerThread; _name = ""; }
public static void RegisterProcess(Guid id, LuaProcess process) { lock (_targets) { EnsureListenerSocket(); _targets[id] = new WeakReference(process); } }
public LuaBreakpoint(LuaProcess process, string filename, int lineNo, string condition, bool breakWhenChanged, int breakpointId, bool isDjangoBreakpoint = false) { _process = process; _filename = filename; _lineNo = lineNo; _breakpointId = breakpointId; _condition = condition; _breakWhenChanged = breakWhenChanged; _isDjangoBreakpoint = isDjangoBreakpoint; }
/// <summary> /// Creates a LuaObject for an expression which successfully returned a value. /// </summary> public LuaEvaluationResult(LuaProcess process, string objRepr, string hexRepr, string typeName, string expression, string childText, bool childIsIndex, bool childIsEnumerate, LuaStackFrame frame, bool isExpandable) { _process = process; _expression = expression; _frame = frame; _objRepr = objRepr; _hexRepr = hexRepr; _typeName = typeName; _isExpandable = isExpandable; _childText = childText; _childIsIndex = childIsIndex; _childIsEnumerate = childIsEnumerate; }