回复: Re: [Tinyos-help]: use DBG to output debug info failed!

Renee Azhen azhen_renee at yahoo.com.cn
Wed Dec 5 00:09:04 PST 2007


You are right, Urs, I should recompile the program again, thanks!
  Sam

Urs Hunkeler <uhu at gmx.ch> 写道:
  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


 		
---------------------------------
 雅虎1G免费邮箱百分百防垃圾信
 雅虎助手-搜索、杀毒、防骚扰  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20071205/89dac460/attachment.htm


More information about the Tinyos-help mailing list