I am using the Arduino Duemilanova with an LCD shield and an Ethernet shield. I first programmed it to only use the LCD, which worked. I then added the Ethernet functionality (or I should say: Webduino functionality) and then the Arduino started to keep restarting. I can resolve this by altering a line that is in itself correct and has worked before enabling the Ethernet functionality. After rewriting a bit the unit restarts at a later point in time.
I fear that either I or some library (but I'd bet on the first option) make some pointer error. The current behaviour ("doing something one cannot understand based on the code-fragment where it happens") does bring some memories from earlier C programming. However: what is the best approach to resolve this? Altering the code makes the error disappear or at least change, so adding Serial.print does not seem to be the best option. On the other hand: there obviously is not much output from the Arduino itself. I have not found debug-environments, but perhaps I am not looking in the right places. And the only "emulator" is the VSPDE solution that seems not to support shields and is in itself influencing the error.
Any help appreciated (if you can understand my brabble).
F