alexander5245 wrote on Thursday, March 28, 2019:
Hi. I’m having a problem where a task unexpectedly gets moved to a blocked state. I’d like to track down the cause by writing a hook or setting a breakpoint. I know there’s a traceMOVED_TASK_TO_READY_STATE hook, but I need the opposite, a traceMOVED_TASK_TO_BLOCKED_STATE, which doesn’t seem to exit.
Is there a hook by a different name that is essentially traceMOVED_TASK_TO_BLOCKED_STATE? Or is there a specific line of code I could set a breakpoint at or write some test code?
I’m using FreeRTOS v8 on a PIC32.
Thank you,
Bob