commit
ba17506b3e
@ -9,7 +9,7 @@
|
||||
<RepositoryType>git</RepositoryType>
|
||||
<IncludeSymbols>true</IncludeSymbols>
|
||||
<IncludeSource>true</IncludeSource>
|
||||
<Version>0.0.1</Version>
|
||||
<Version>0.0.2</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
|
||||
@ -92,10 +92,23 @@ namespace System.Diagnostics
|
||||
|
||||
var filePath = frame.GetFileName();
|
||||
if (!string.IsNullOrEmpty(filePath))
|
||||
{
|
||||
try
|
||||
{
|
||||
sb.Append(" in ");
|
||||
var uri = new Uri(filePath);
|
||||
if (uri.IsFile)
|
||||
{
|
||||
sb.Append(System.IO.Path.GetFullPath(filePath));
|
||||
}
|
||||
else
|
||||
{
|
||||
sb.Append(uri);
|
||||
}
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
|
||||
var lineNo = frame.GetFileLineNumber();
|
||||
if (lineNo != 0)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user