[Tinyos-help] how do i find where a value is being generated?

Arik Sapojnik sapojnik at gmail.com
Mon Apr 26 03:42:48 PDT 2010


How about changing the return value to something else?

   1. Return TRUE;
   2. Return variable.
   3. if/else return statement


Arik


On Mon, Apr 26, 2010 at 13:34, Eric Decker <cire831 at gmail.com> wrote:

> I have a fairly complex program and I'm seeing some of my return codes not
> coming back correctly.
>
> that is when I look at the app.c file, I see
>
> return 0x0080
>
> but the original source code is return FAIL  and FAIL is an enum set to 1.
>
> I've looked through all the source code looking for 0080 and trying to find
> where FAIL is being changed
> and I'm baffled.
>
> Suggestions on how to find out what is going on?
>
> eric
>
>
> --
> Eric B. Decker
> Senior (over 50 :-) Researcher
>
>
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Best Regards,
Arik Sapojnik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20100426/e96ab7d8/attachment.htm 


More information about the Tinyos-help mailing list