Skip to content

Commit 1f9bf19

Browse files
committed
Ignore '?' function name from 'auxgetinfo'
1 parent 9979eee commit 1f9bf19

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

LuaDkmDebuggerComponent/LocalComponent.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -473,9 +473,12 @@ string GetLuaFunctionName(ulong currCallInfoAddress, ulong prevCallInfoAddress,
473473
{
474474
string functionName = EvaluationHelpers.TryEvaluateStringExpression($"((lua_Debug*){processData.scratchMemory})->name", stackContext.InspectionSession, stackContext.Thread, input, DkmEvaluationFlags.None);
475475

476-
DkmCustomMessage.Create(process.Connection, process, MessageToRemote.guid, MessageToRemote.resumeBreakpoints, null, null).SendLower();
476+
if (functionName != null && functionName != "?")
477+
{
478+
DkmCustomMessage.Create(process.Connection, process, MessageToRemote.guid, MessageToRemote.resumeBreakpoints, null, null).SendLower();
477479

478-
return functionName;
480+
return functionName;
481+
}
479482
}
480483
}
481484

0 commit comments

Comments
 (0)