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

« back to all changes in this revision

Viewing changes to src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/StackTracePad.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:
126
126
                                
127
127
                                StackFrame fr = current_backtrace.GetFrame (i);
128
128
                                
129
 
                                StringBuilder met = new StringBuilder (fr.SourceLocation.Method);
 
129
                                StringBuilder met = new StringBuilder (fr.SourceLocation.MethodName);
130
130
                                ObjectValue[] args = fr.GetParameters ();
131
 
                                if (args.Length != 0 || !fr.SourceLocation.Method.StartsWith ("[")) {
 
131
                                if (args.Length != 0 || !fr.SourceLocation.MethodName.StartsWith ("[")) {
132
132
                                        met.Append (" (");
133
133
                                        for (int n=0; n<args.Length; n++) {
134
134
                                                if (n > 0)
139
139
                                }
140
140
                                
141
141
                                string file;
142
 
                                if (!string.IsNullOrEmpty (fr.SourceLocation.Filename)) {
143
 
                                        file = fr.SourceLocation.Filename;
 
142
                                if (!string.IsNullOrEmpty (fr.SourceLocation.FileName)) {
 
143
                                        file = fr.SourceLocation.FileName;
144
144
                                        if (fr.SourceLocation.Line != -1)
145
145
                                                file += ":" + fr.SourceLocation.Line;
146
146
                                } else