DSPRelated.com
Forums

Debugging multiple tasks in Code Composer Studio

Started by junnytony June 12, 2008
I have a program that runs three tasks. I want to know if I can switch
between these tasks during debugging. Right now, each task has a different
priority.

Is there a way to switch between the tasks while debugging?

Thanks


On Thu, 12 Jun 2008 14:01:56 -0500, junnytony wrote:

> I have a program that runs three tasks. I want to know if I can switch > between these tasks during debugging. Right now, each task has a > different priority. > > Is there a way to switch between the tasks while debugging? > > Thanks
Set a breakpoint in the task you're trying to debug? If your task is ever being allowed to run, it should hit your breakpoint while you're executing the program. The debugger doesn't keep the task switching from occurring, provided that your higher priority tasks do suspend, giving time for your lower priority task to run. If you never hit your breakpoint, then your task is probably not being allowed to run by the other tasks or interrupts in the system.