Debug messages

07 Jan 2011

How can I enable debug messages in HTTPServer ? I try with : #define LWIP_DEBUG 1

Regards, Peter

07 Jan 2011

You will have to un-comment a line in the source of HTTPServer.cpp, then recompile the library.

The library source is available via the cookbook http://mbed.org/cookbook/NetServices.

Un-comment the line of HTTPServer.cpp that reads

00026 //#define __DEBUG

Then recompile everything. I did something similar a while ago to turn on debug messages in FSHandler.cpp, and posted that library version in my notebook http://mbed.org/users/hexley/libraries/NetServices/li3cvb.

Good luck.