View Single Post
  #23   Spotlight this post!  
Unread 07-03-2004, 08:42
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: AAAUUUGGGHHH!!! RC NOT RUNNING!!!

Quote:
Originally Posted by Daniel
Someone mentioned printf working strangely...

I put printf statements through out my program to trace and debug it.

But the program's output has been appearing erratically all of a sudden! That is sometime it just doesn't perform the printf or skips a function call. Has anyone heard of this before? Any solutions?

So much great code, and so little time to debug it!
The printf() is buffered, so it might just not be sending back the data right away. That should mean that you still get everything, just not right away, but it may be weird and do something like over writing what is already in the buffer if what is being written and what is already there is larger than the buffer can hold. Something like that. Or it may be that something changed in you code and it really is skipping those functions that you think are being called. Weird error.
__________________