Fix stack progress showing zero frames
@@ -1284,6 +1284,8 @@ BOOLEAN NTAPI PhpWalkThreadStackCallback(
enableStackFrameLineInfo = !!PhGetIntegerSetting(L"EnableThreadStackLineInformation");
PhAcquireQueuedLockExclusive(&threadStackContext->StatusLock);
+ {
+ if (threadStackContext->NewList->Count)
{
PH_FORMAT format[3];
@@ -1293,6 +1295,11 @@ BOOLEAN NTAPI PhpWalkThreadStackCallback(
PhMoveReference(&threadStackContext->StatusMessage, PhFormat(format, RTL_NUMBER_OF(format), 0));
}
+ else
+ {
+ PhMoveReference(&threadStackContext->StatusMessage, PhCreateString(L"Processing stack frames..."));
+ }
+ }
PhReleaseQueuedLockExclusive(&threadStackContext->StatusLock);
if (enableStackFrameInlineInfo && PhSymbolProviderInlineContextSupported())
