Task Aware Debugging

cancel
Showing results for 
Search instead for 
Did you mean: 

Task Aware Debugging

309 Views
jeremyanderson
Contributor III

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.

0 Kudos
1 Reply

175 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi Jeremy:

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.

pastedImage_1.png

Regards

Daniel

0 Kudos