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