diff --git a/src/AddIns/Debugger/Debugger.Core/PdbSymbolSource.cs b/src/AddIns/Debugger/Debugger.Core/PdbSymbolSource.cs index 9711582ab7..578fdc4fe6 100644 --- a/src/AddIns/Debugger/Debugger.Core/PdbSymbolSource.cs +++ b/src/AddIns/Debugger/Debugger.Core/PdbSymbolSource.cs @@ -28,11 +28,10 @@ namespace Debugger public override string ToString() { - return string.Format("{0}:{1},{2}-{3},{4} IL:{5}", + return string.Format("{0}:{1},{2}-{3},{4}", Path.GetFileName(this.Filename ?? string.Empty), this.StartLine, this.StartColumn, - this.EndLine, this.EndColumn, - string.Join(" ", this.ILRanges)); + this.EndLine, this.EndColumn); } } diff --git a/src/AddIns/Debugger/Debugger.Core/StackFrame.cs b/src/AddIns/Debugger/Debugger.Core/StackFrame.cs index 105259272e..4780446a78 100644 --- a/src/AddIns/Debugger/Debugger.Core/StackFrame.cs +++ b/src/AddIns/Debugger/Debugger.Core/StackFrame.cs @@ -156,7 +156,7 @@ namespace Debugger List stepRanges = new List(); var seq = this.Module.SymbolSource.GetSequencePoint(this.MethodInfo, this.IP); if (seq != null) { - Process.TraceMessage("Step over: {0}", seq); + Process.TraceMessage("Step over: {0} IL:{1}", seq, string.Join(" ", seq.ILRanges)); stepRanges.AddRange(seq.ILRanges); stepRanges.AddRange(this.Module.SymbolSource.GetIgnoredILRanges(this.MethodInfo)); }