~ubuntu-branches/ubuntu/oneiric/monodevelop/oneiric

« back to all changes in this revision

Viewing changes to src/core/Mono.Debugging/Mono.Debugging.Evaluation/BaseBacktrace.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2011-06-27 17:03:13 UTC
  • mto: (1.8.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 54.
  • Revision ID: james.westby@ubuntu.com-20110627170313-6cvz3s19x6e9hqe9
ImportĀ upstreamĀ versionĀ 2.5.92+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
177
177
                        if (Adaptor.IsEvaluating) {
178
178
                                List<ObjectValue> vals = new List<ObjectValue> ();
179
179
                                foreach (string exp in expressions) {
180
 
                                        ObjectValue val = Adaptor.CreateObjectValueAsync (exp, ObjectValueFlags.Field, delegate {
 
180
                                        string tmpExp = exp;
 
181
                                        ObjectValue val = Adaptor.CreateObjectValueAsync (tmpExp, ObjectValueFlags.Field, delegate {
181
182
                                                EvaluationContext cctx = GetEvaluationContext (frameIndex, options);
182
 
                                                return Adaptor.GetExpressionValue (cctx, exp);
 
183
                                                return Adaptor.GetExpressionValue (cctx, tmpExp);
183
184
                                        });
184
185
                                        vals.Add (val);
185
186
                                }