|
|
@ -98,6 +98,8 @@ namespace ICSharpCode.ILSpyX.PdbProvider |
|
|
|
var debugInfo = metadata.GetMethodDebugInformation(method); |
|
|
|
var debugInfo = metadata.GetMethodDebugInformation(method); |
|
|
|
var sequencePoints = new List<Decompiler.DebugInfo.SequencePoint>(); |
|
|
|
var sequencePoints = new List<Decompiler.DebugInfo.SequencePoint>(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
try |
|
|
|
|
|
|
|
{ |
|
|
|
foreach (var point in debugInfo.GetSequencePoints()) |
|
|
|
foreach (var point in debugInfo.GetSequencePoints()) |
|
|
|
{ |
|
|
|
{ |
|
|
|
string documentFileName; |
|
|
|
string documentFileName; |
|
|
@ -124,6 +126,11 @@ namespace ICSharpCode.ILSpyX.PdbProvider |
|
|
|
|
|
|
|
|
|
|
|
return sequencePoints; |
|
|
|
return sequencePoints; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
catch (BadImageFormatException) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
return EmptyList<Decompiler.DebugInfo.SequencePoint>.Instance; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public IList<Variable> GetVariables(MethodDefinitionHandle method) |
|
|
|
public IList<Variable> GetVariables(MethodDefinitionHandle method) |
|
|
|
{ |
|
|
|
{ |
|
|
|