Ok, I guess if you are debugging, you will have it open all the time anyway.
you see something, want to edit the code then, so you close the window and edit.
Then want to get back to looking.
And it has to reboot. Oh boy.
I'll keep it in mind for future reference.
http://arduino.cc/forum/index.php/topic,118440.0.html ] I added a feature to auto-open the serial monitor on upload completion, so you dont have to suffer the arduino reboot when debugging (hold control key on upload, or click the new menu item to get this function)
dxw00d:
Opening the serial monitor automatically still re-opens the serial port doesn't it?
There is a boot time, commonly makes sense to add a 2-3 secs delay to the Setup( ) to have time to click like a madman the serial monitor button to get the first serial prints, with the modded version: when board is starting ide opens the serial port monitor so you never experience the "reboot".
You don't miss prints but you experience the reboot as part of the action: opening the monitor. Older boards with ftdi can be configured to avoid port re-enumeration, hence, no reboot but you lose first prints.
I just feel it make sense to open the monitor automatically or not open it at all, I never remember myself opening the monitor past few minutes like "in the middle" of the arduino run.
eried:
You don't miss prints but you experience the reboot as part of the action: opening the monitor. Older boards with ftdi can be configured to avoid port re-enumeration, hence, no reboot but you lose first prints.
I just feel it make sense to open the monitor automatically or not open it at all, I never remember myself opening the monitor past few minutes like "in the middle" of the arduino run.
Different strokes for different folks. I find myself often times checking trace messages in long running programs on my Linux systems that I didn't start out debugging to see what state the program is in. For that matter, I sometimes attach the debugger to a process to see if it is looping. I also wish there was an option to not reboot the Arduino when the serial port is opened, as I would like to have push button or toggel switch that says become verbose and start emitting trace messages.
I also wish there was an option to not reboot the Arduino when the serial port is opened
You're not alone, and there are several workarounds.
I found the 110 Ohm resistor trick not working with my resistor and an UNO R3, but the capacitor works well.
And there's the brute "Cut the RESET-EN Trace" advice:
Keeping the Reset Button pressed during compilation until upload starts, can get the same habit as always have SerialMonitor running.
MichaelMeissner:
I also wish there was an option to not reboot the Arduino when the serial port is opened, as I would like to have push button or toggel switch that says become verbose and start emitting trace messages.
The way the Arduino IDE opens the serial port causes the Arduino to reset - I believe it's due to toggling the DTR signal line or some such thing. It's possible to open the serial port without doing that, but you have to use an application other than Arduino IDE to do it. For example, in my experience when Gobetwino connects it does not reset the Arduino. I created a C# application to do a similar job and that didn't reset the Arduino either.
mmmm I was testing and the modded ide I posted does not resets the arduino when opening the monitor, anyone can confirm this?
I removed few things, like the "flush" because it is handle now by avrdude wrapper and the hacked rxtxserial.dll that does not uses the 'FILE OPEN' syscall to open the ports so I am guessing problem does not exists