This commit is contained in:
thomabr 2016-11-16 16:31:11 -08:00
Родитель 63e2261131
Коммит 7728c7e6be
3 изменённых файлов: 4 добавлений и 5 удалений

Просмотреть файл

@ -5,7 +5,7 @@
/// <summary>
/// This method will deminify a single stack from from a minified stack trace.
/// </summary>
/// <returns>Returns a StackFrameDeminification result that contains a stack trace that has been translated to the original source code. The DeminificationError indicates if the StackFrame could not be deminified. DeminifiedStackFrame will not be null, but any properties off of DeminifiedStackFrame could be if the value could not be extracted. </returns>
/// <returns>Returns a StackFrameDeminificationEesult that contains a stack trace that has been translated to the original source code. The DeminificationError Property indicates if the StackFrame could not be deminified. DeminifiedStackFrame will not be null, but any properties of DeminifiedStackFrame could be null if the value could not be extracted. </returns>
StackFrameDeminificationResult DeminifyStackFrame(StackFrame stackFrame);
}
}

Просмотреть файл

@ -9,7 +9,6 @@ namespace SourcemapToolkit.CallstackDeminifier
/// <summary>
/// Enum indicating if there were any errors encountered when attempting to deminify the StakFrame.
/// </summary>
[Flags]
public enum DeminificationError
{
/// <summary>
@ -28,12 +27,12 @@ namespace SourcemapToolkit.CallstackDeminifier
NoWrapingFunctionFound,
/// <summary>
/// There was an error when there was not a valid source map returned by ISourceMapProvider.GetSourceMapForUrl.
/// There was not a valid source map returned by ISourceMapProvider.GetSourceMapForUrl.
/// </summary>
NoSourceMap,
/// <summary>
/// There was not a mapping entry found for the source position of the minified stack frame.
/// A mapping entry was not found for the source position of the minified stack frame.
/// </summary>
NoMatchingMapingInSourceMap,

Просмотреть файл

@ -21,7 +21,7 @@ namespace SourcemapToolkit.CallstackDeminifier
/// <summary>
/// This method will deminify a single stack from from a minified stack trace.
/// </summary>
/// <returns>Returns a stack trace that has been translated to a best guess of the original source code. Any of the fields in the stack frame may be null</returns>
/// <returns>Returns a StackFrameDeminificationEesult that contains a stack trace that has been translated to the original source code. The DeminificationError Property indicates if the StackFrame could not be deminified. DeminifiedStackFrame will not be null, but any properties of DeminifiedStackFrame could be null if the value could not be extracted. </returns>
public override StackFrameDeminificationResult DeminifyStackFrame(StackFrame stackFrame)
{
if (stackFrame == null)