[Tinyos-help] turning ON debug statements

2007-12-13 Thread Vijayant Bhatnagar
Hi, can anyone please tell me how to turn ON debug statements of system files ? I am able to track debug statements from my application but not from source files. Basically i wish to track statements like : dbg(CpmModelC,SNRLoss, - lost packet from %i as SNR was too low.\n, (int)mine-source);

Re: [Tinyos-help] turning ON debug statements

2007-12-13 Thread Thanh Phuong Nguyen
Hi Vijayant, I am not sure if i understand ur quest right. Now for ur quest, i just add a line in the python script: = t.addChannel(CpmModelC,SNRLoss, sys.stdout) # t = Tossim([]) = If u already had that in ur script, so maybe somehow ur program hasnt reach to the debug line. Hope this