public ObjectValue[] GetAllLocals(EvaluationOptions options) { if (!hasDebugInfo) { return(new ObjectValue [0]); } ObjectValue[] values = sourceBacktrace.GetAllLocals(index, options); ObjectValue.ConnectCallbacks(this, values); return(values); }
public ObjectValue[] GetAllLocals(EvaluationOptions options) { if (!hasDebugInfo) { DebuggerLoggingService.LogMessage("Cannot get local variables: no debugging symbols for frame: {0}", this); return(new ObjectValue [0]); } var values = sourceBacktrace.GetAllLocals(index, options); ObjectValue.ConnectCallbacks(this, values); return(values); }
public ObjectValue[] GetAllLocals(int frameIndex, EvaluationOptions options) { return(MtaThread.Run(() => backtrace.GetAllLocals(frameIndex, options))); }