Robert Hohentanner

Debug Strangeness

Discussion created by Robert Hohentanner on Feb 15, 2007
Latest reply on Feb 16, 2007 by Paul McConkey
 I have an Ethernet socket opened up and an exchanging data between it and my PC. When I have 
"define NPDEBUG         1" defined the data continues to be exchanged but slows down drastically when the UART buffers fall behind and the system is trying to keep up the debug meessages being sent. If I comment out NPDEBUG line, the program blows up after a couple of the message exchanges and starts spewing unreadable junk out to the serial port. Any ideas why turning off debug messaging would cause an issue with a socket?