I'm debugging a FreeRTOS application using a Segger j-link debugger on a board that uses the K66 MCU. I've found that stepping over an xTaskCreate results in the task code executing. Is this a FreeRTOS question? I thought I'd be able to create these tasks and that they would not execute until I start the task scheduler. Any hints are greatly appreciated.
I tested the hello world demo with Frdm-k22 board. I just added one print . Then I debug with "step over", I can see the hello world task is executed after vTaskStartScheduler. Please see below picture.