This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Using "Run to Cursor" to create a breakpoint on a Task (thread)



Hello,

I am using CCSV3.3 and DSP/BIOS 5.33.05. I am trying to set a breakpoint in C-code on a thread (task) uing "Run to Cursor" (although any other method is welcome!). While I see that the thread has launched in the kernel object view and the projects were compiled with full symbolic debug "(-g" option) I can't set  a breakpoint on the thread-code.

I noticed there was a grayed-out section under the "Debug" pull-down menu that mentioned "thread-level debugging", but the only thing I could find about it was in CCS help which tells you to contact the TI website for more info.

Any help would be appreciated.

Thanks in advance.

Dan.

 

  • Nevermind!

    It looks like my problem was due to the fact that I was running an infinite loop in main...so while the dynamic task was created, it never ran since (I now realize) the scheduler can't run until  main exits...

    Sorry for the trouble.