Beispiel #1
0
        public ObjectValue[] GetAllLocals()
        {
            if (!hasDebugInfo)
            {
                return(new ObjectValue [0]);
            }

            var evaluator = session.FindExpressionEvaluator(this);

            return(evaluator != null?evaluator.GetLocals(this) : GetAllLocals(session.EvaluationOptions));
        }
Beispiel #2
0
        public ObjectValue[] GetAllLocals()
        {
            if (!hasDebugInfo)
            {
                DebuggerLoggingService.LogMessage("Cannot get local variables: no debugging symbols for frame: {0}", this);
                return(new ObjectValue [0]);
            }

            var evaluator = session.FindExpressionEvaluator(this);

            return(evaluator != null?evaluator.GetLocals(this) : GetAllLocals(session.EvaluationOptions));
        }