Skip to content

Commit 3f54106

Browse files
author
Michael DeRoy
committed
Fix error when result is null
1 parent 7fafe7e commit 3f54106

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PmipRunner.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public DkmStackWalkFrame PmipStackFrame()
3636
var eval = EvaluateExpression(call, r =>
3737
{
3838
isNull = r.Address.InstructionAddress.CPUInstructionPart.InstructionPointer == 0;
39-
result = r.Value?.Split('"')[1];
39+
result = isNull ? "<ERROR>" : r.Value?.Split('"')[1];
4040
});
4141

4242
if (!eval || isNull)

0 commit comments

Comments
 (0)