vTaskList() seems to not work properly

coco-nut wrote on Thursday, April 26, 2018:

Hi! Just wanted to ask how I can fix the issue? Seems vTaskList() prints the table moved aside.

rtel wrote on Friday, April 27, 2018:

I can’t see a picture to understand exactly what you mean, but it sounds
like a text formatting issue. Either edit the way the terminal shows
the text (spaces per tab, or line ends, or whatever the issue is) or
update the print statement in the vTaskList() function to create output
that displays aligned for you. Sometimes shortening the
configMAX_TASK_NAME_LEN definition can help align the names of the
tasks, where large variation in name length could cause alignment issues.

matusvorcak wrote on Wednesday, October 09, 2019:

thats because there is not handled case eRunning: in switchfor eCurrentState. and for task state running is in cStatus = 0x00. And when strlen is computing pcWriteBuffer length, get this like end of string.

rtel wrote on Wednesday, October 09, 2019:

Is that still the case in the latest FreeRTOS version? (10.2.x)

matusvorcak wrote on Thursday, October 10, 2019:

Last where i have seen this was in version 10.0.0

rtel wrote on Thursday, October 10, 2019:

I can see eRunning is not handled in V10.0.0:
https://sourceforge.net/p/freertos/code/HEAD/tree/tags/V10.0.0/FreeRTOS/Source/tasks.c#l4212

but is in V10.2.1:
https://sourceforge.net/p/freertos/code/HEAD/tree/tags/V10.2.1/FreeRTOS/Source/tasks.c#l4362

so I think this is fixed.