-
-
Notifications
You must be signed in to change notification settings - Fork 435
IDE unresponsive when uploading with Serial Monitor open and the board printing messages with no delays #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@per1234 I commented on Issue https://github.com/arduino/arduino-pro-ide/issues/424 |
First, I wanted to check how the Java IDE behaves. I did the followings:
void setup() {
}
void loop() {
Serial.println("hello");
}
Can you please share your sketch? Thank you! |
@kittaakos you are missing initialising the Serial first void setup() {
Serial.begin(9600);
}
void loop() {
Serial.println("hello");
} |
https://github.com/arduino/arduino-pro-ide/issues/294 is most likely required for this issue. The serial monitor is a custom rendered nightmare; the VS Code guys did a great job optimizing the monaco editor's performance. I will try to replace it. One thing I have noticed, if you turn the auto-scroll off in the widget, the UX becomes much better. Can someone please also verify it? |
Unfortunately, I've tested this on windows and I don't see any particular improvement, disabling the auto-scroll 😿 |
Upstream issue: eclipse-theia/theia#9063 |
Signed-off-by: Akos Kitta <[email protected]>
Signed-off-by: Akos Kitta <[email protected]>
Closes #10. Signed-off-by: Akos Kitta <[email protected]>
Closes #10. Signed-off-by: Akos Kitta <[email protected]>
Behaviour:
If i have a sketch with a
Serial.println("hello")
in the loop with no delays, and the Serial Monitor is open,If I initiate an upload the IDE stops being responsive and almost comes to a halt.
There's no recovery from it, I just have to quit and reopen
How to reproduce:
Serial.println("Hello!");
in the main loop.upload
againSystem:
Mac OS
Version: 2.0.0-beta.1-snapshot.98ef006
The text was updated successfully, but these errors were encountered: