DSPRelated.com
Forums

how to watch variables (real time) in CCS

Started by Jin June 11, 2005
I run a program in CCS ver 2.1. I would like to watch
a few vriables. But I only can look at the variables
when I halt the program. When the program runs, the
variable value is not updated. Is there any way I can
watch the variables (being updated) during the program
running?
Thanks
Jin


I think u have to refresh the watch window while running by (by right
clicking the refresh window u will see the refresh option)
Regards
Ramamohan Reddy

On 6/12/05, Jin <jnwmail@jnwm...> wrote:
>
> I run a program in CCS ver 2.1. I would like to watch
> a few vriables. But I only can look at the variables
> when I halt the program. When the program runs, the
> variable value is not updated. Is there any way I can
> watch the variables (being updated) during the program
> running?
> Thanks
> Jin >
>
> *
>
> - To <http://docs.yahoo.com/info/terms/>.


--
Rama Mohana Reddy



hi
i guess u have to do step debugging ...for that ....if
ur variable is not updating even then i guess u have
to declare it as volatile...

regards
raghu
--- Jin <jnwmail@jnwm...> wrote: ---------------------------------
I run a program in CCS ver 2.1. I would like to watch
a few vriables. But I only can look at the variables
when I halt the program. When the program runs, the
variable value is not updated. Is there any way I can
watch the variables (being updated) during the program
running?
Thanks
Jin
To ___________________________________________________________
How much free photo storage do you get? Store your holiday
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com



hi
u can use LOG_printf and print the value of the variables in
trace messages on CCS.
this is meant for runtime debugging.
try to use it.
venu
--- Jin <jnwmail@jnwm...> wrote:

> I run a program in CCS ver 2.1. I would like to watch
> a few vriables. But I only can look at the variables
> when I halt the program. When the program runs, the
> variable value is not updated. Is there any way I can
> watch the variables (being updated) during the program
> running?
> Thanks
> Jin >

__________________________________
Discover Yahoo!
Use Yahoo! to plan a weekend, have fun online and more. Check it out!
http://discover.yahoo.com/