Exemple #1
0
 public ObjectValue[] GetAllLocals(EvaluationOptions options)
 {
     if (!hasDebugInfo)
     {
         return(new ObjectValue [0]);
     }
     ObjectValue[] values = sourceBacktrace.GetAllLocals(index, options);
     ObjectValue.ConnectCallbacks(this, values);
     return(values);
 }
Exemple #2
0
        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);
        }
Exemple #3
0
 public ObjectValue[] GetAllLocals(int frameIndex, EvaluationOptions options)
 {
     return(MtaThread.Run(() => backtrace.GetAllLocals(frameIndex, options)));
 }