uxTaskGetStackHighWaterMark return zero

Dear sir, We try to use the freeRTOS v7.3.0, and found a problem that uxTaskGetStackHighWaterMark(…) return zero always for each task. The problem also can be found in prvListTaskWithinSingleList(…) to show zero stack remaining. v7.2.0 is well to check stack remaining.
Could you please to try my issue?

uxTaskGetStackHighWaterMark return zero

I am pretty sure nothing has changed in that part of the code between version 7.2.0 and 7.3.0.  Nonetheless I just tried the following code with both versions at got identical results:
volatile unsigned portBASE_TYPE uxHighWaterMark;
static void prvQueueSendTask( void *pvParameters )
{
portTickType xNextWakeTime;
const unsigned long ulValueToSend = 100UL;
    /* FIRST CALL TO uxTaskGetStackHighWaterMark(). */
    uxHighWaterMark = uxTaskGetStackHighWaterMark( NULL );
    
    /* Initialise xNextWakeTime - this only needs to be done once. */
    xNextWakeTime = xTaskGetTickCount();
    for( ;; )
    {
        vTaskDelayUntil( &xNextWakeTime, mainQUEUE_SEND_FREQUENCY_MS );
        xQueueSend( xQueue, &ulValueToSend, 0 );
        /* SECOND CALL TO uxTaskGetStackHighWaterMark(). */        
        uxHighWaterMark = uxTaskGetStackHighWaterMark( NULL );
    }
}
Regards.

uxTaskGetStackHighWaterMark return zero

Please see below screenshot and take by  “Task Table” utility for eclipse…
All “Min Free Stack” of task become to zero. Regards,
Jason

uxTaskGetStackHighWaterMark return zero

Ok – that is a different matter to your original posting.  There must be an incompatibility between the state viewer version and the FreeRTOS version.  Have you tried updating the StateViewer?  That comes from High Integrity Systems, not me.  You should be able to update it using the standard Eclipse update mechanism. Regards.

uxTaskGetStackHighWaterMark return zero

Yes, you solved my problem. Thanks for your help.