Hello,
I have a netduino plus, and am using PowerState.RebootDevice(false) to reboot the netduino in the event of otherwise-uncaught exceptions. The netduino was not resuming code execution after the reboot, so I wrote the simplest code I can think of:
while (true) {
Debug.Print("First");
PowerState.RebootDevice(false);
Debug.Print("Last")
}
...And only the first debug statement executes, ie. the debugger prints "First", the netduino reboots, and the execution of the code does not continue. Any ideas?