You've already forked linux-packaging-mono
Imported Upstream version 5.16.0.100
Former-commit-id: 38faa55fb9669e35e7d8448b15c25dc447f25767
This commit is contained in:
parent
0a9828183b
commit
7d7f676260
@@ -81,11 +81,9 @@ namespace Mono
|
||||
|
||||
using (StreamReader r = new StreamReader (inputFile)) {
|
||||
for (var line = r.ReadLine (); line != null; line = r.ReadLine ()) {
|
||||
StackFrameData sfData;
|
||||
if (StackFrameData.TryParse (line, out sfData) &&
|
||||
symbolManager.TryResolveLocation (sfData)) {
|
||||
Console.WriteLine (sfData.ToString ());
|
||||
continue;
|
||||
if (StackFrameData.TryParse (line, out var sfData) && symbolManager.TryResolveLocation (sfData, out var location)) {
|
||||
var sign = sfData.Line.Substring (0, sfData.Line.IndexOf (" in <", StringComparison.Ordinal));
|
||||
line = $"{sign} in {location.File}:{location.Line}";
|
||||
}
|
||||
|
||||
Console.WriteLine (line);
|
||||
|
||||
Reference in New Issue
Block a user