[Tinyos-help]: use DBG to output debug info failed!
Urs Hunkeler
uhu at gmx.ch
Tue Dec 4 23:41:20 PST 2007
Hi Sam,
Try adding a new-line character to the end of the string you want to
print ("please output the dbg info\n"), and make sure you recompile your
program.
If this still doesn't work, could you send us the exact commands you use
to start the simulation?
Cheers,
Urs
Renee Azhen schrieb:
> Dear all:
> I write this code in the BlinkM.nc files:
> event result_t Timer.fired()
> {
> dbg(DBG_TEMP, "please output the dbg info");
> call Leds.redToggle();
> return SUCCESS;
> }
> and then use this comman: export DBG=temp,
> then start tossim to monitoring, but no dbg info outputted!
> anything that I did is wrong??
> Could anyone tell me how to get the dbg info?
>
> really thanks
> Sam
More information about the Tinyos-help
mailing list