Closed RickKimball closed 12 years ago
I would suggest this is something for "advanced" features
I never understood why the board is reset on console close. Do you know of functionality/sketches that depends on this? I think we should document it for now and monitor for code/users depending on it.
When you run the ASCII Table example it outputs serial output once at startup. If you don't open the window quickly enough you miss it. Worse though is that opening the window will show partial data which doesn't look right if you only see some of it. If the processor is reset on window open, then the example output is shown fully.
This is true of any sketch that outputs data once at startup.
@pbrier I like all those suggestions.
-rick
If you start implementing the last one (the full blown debugger), I'll take on the task of the other two :-)
In the Arduino environment when you open or close the console window, it resets the processor. Do we want to emulate this behavior? I was trying out a solution using mspdebug to reset the chip. However, I'm not sure if this is something we want to do. Maybe we should just document that it doesn't happen. Having the user press the reset button is actually more flexible but unexpected if you have used the Arduino.