I tried to copy all messages on the serial monitor screen selecting all lines (CONTROL+A didn't work),
With the cursor on the middle of monitor screen I typed CONTROL+C.
On notepad I select paste (CONTROL+V), but only the lines on the last screen page was pasted.
Some button to help to copy, or to save monitor text into text-file, will be helpful.
I am running Arduino IDE 2.0.0-rc9.1 on Windows 10 Pro.
CamargoF:
CONTROL+A didn't work
The Arduino IDE developers are tracking this bug here:
opened 11:30PM - 05 Feb 22 UTC
topic: code
type: imperfection
topic: serial monitor
### Describe the problem
Let's say I have 1000 lines of debug output in the s… erial monitor window, how do I do a select all, such that I can copy it to the
clipboard?
With 1.8.19, I click the mouse into the monitor window and hit <kbd>**Ctrl**</kbd>+<kbd>**A**</kbd> and it selects all of the text. I can then hit <kbd>**Ctrl**</kbd>+<kbd>**C**</kbd>
to copy to clipboard.
### To reproduce
Run a sketch and try to select all of the text from Serial Monitor.
🐛 The contents of the sketch editor are selected when you press <kbd>**Ctrl**</kbd>+<kbd>**A**</kbd>:

### Expected behavior
I expected hitting <kbd>**Ctrl**</kbd>+<kbd>**A**</kbd> would select everything in that window not the source window.
### Arduino IDE version
#### Original report
Nightly build
#### Last verified with
9a6a457bc44fb16f646b9e61a9e8b336b3666412
### Operating system
Windows
### Operating system version
Not provided
### Additional context
And/Or alternative solution - context menu like for example TyCommander

---
Additional reports
- https://github.com/arduino/arduino-ide/issues/899
- https://github.com/arduino/arduino-ide/issues/1817
- https://github.com/arduino/arduino-ide/issues/1654
- https://github.com/arduino/arduino-ide/issues/1918
- https://forum.arduino.cc/t/copy-of-the-serie-monitor-output/1056049/1
- https://forum.arduino.cc/t/copy-of-the-serie-monitor-output/1056049/5
- https://forum.arduino.cc/t/serial-monitor-copy-only-copied-the-visible-logs/1051846/1
- https://forum.arduino.cc/t/serial-monitor-copy-only-copied-the-visible-logs/1051846/4
- https://forum.arduino.cc/t/using-v-2-0-serial-monitor-print/1034093
- https://forum.arduino.cc/t/serial-monitor-issues-hopefully-fixed-before-release/1026548
- https://forum.arduino.cc/t/serial-output-window-select-all-copy/1024251
- https://forum.arduino.cc/t/coping-multiple-lines-on-monitor-screen/1019346
- https://forum.arduino.cc/t/text-selection-serial-monitor/1005262
- https://forum.arduino.cc/t/upgrade-the-serial-monitor-for-better-function/980128
- https://forum.arduino.cc/t/ide-2-0-copy-from-serial-monitor-limited/1078391
- https://forum.arduino.cc/t/random-seed-does-not-deliver-random-numbers/1006762/10
- https://forum.arduino.cc/t/copying-from-serial-monitor/1071503/3
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/5
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/19
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/21
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/23
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/32
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/38
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/39
- https://forum.arduino.cc/t/arduino-ide-2-0-3-serial-monitor-cant-use-cntrl-a-to-capture-everything/1095266
- https://forum.arduino.cc/t/arduino-ide-serial-monitor-bug/1112653/7
- https://forum.arduino.cc/t/why-does-click-into-serial-monitor-ctrl-a-mark-the-source-code/1128016
- https://forum.arduino.cc/t/cannot-select-all-of-serial-data/1158236
- https://forum.arduino.cc/t/how-can-i-copy-the-whole-content-of-the-serial-monitor/1168904/1
- https://forum.arduino.cc/t/your-reason-for-not-switching-to-the-2-x-ide/1176322/47
#### Related
- https://github.com/arduino/arduino-ide/issues/1081
### Issue checklist
- [X] I searched for previous reports in [the issue tracker](https://github.com/arduino/arduino-ide/issues?q=)
- [X] I verified the problem still occurs when using the latest [nightly build](https://www.arduino.cc/en/software#nightly-builds)
- [X] My report contains all necessary details
Even though this "only the lines on the last screen page" behavior doesn't quite match the "chaotically" description in the title, I do think it is the same bug as reported here:
opened 05:58AM - 19 Jun 22 UTC
topic: code
type: imperfection
topic: serial monitor
### Describe the problem
When selecting text on the serial monitor (with the … connected device paused) upon scroll the range of the selection shifts in unpredictable patterns (at least i didn't see a reproducable pattern) which prevents selecting more then one page of the output. As of #812/#105 using ctrl+a is also not an option to select text in that tab.
As i do not have the problem of new text triggering a redraw which removes the selection, i do not consider this a duplicate of #812/#105, but feel free to correct me.
### To reproduce
* print multiple pages text on the serial monitor once e.g. in the setup() function.
* when all text is received select a bit of it
* scroll the output up and down a bit
### Expected behavior
The selection should stay between the first and last selected characters, and not randomly jump around.
### Arduino IDE version
#### Original report
2.0.0-rc7-nightly-20220615
#### Last verified with
9a6a457bc44fb16f646b9e61a9e8b336b3666412
### Operating system
Windows
### Operating system version
10.0.19044.1706 Pro
### Additional context
My Nightly Build is 4 days old, but the 3 commits since then do not have any relations to this issue.
#### Additional reports
- https://github.com/arduino/arduino-ide/issues/1710
- https://github.com/arduino/arduino-ide/issues/1817
- https://github.com/arduino/arduino-ide/issues/2262
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/1
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/19
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/30
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/34
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/35
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/37
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/39
- https://forum.arduino.cc/t/copying-from-serial-monitor/1071503/1
- https://forum.arduino.cc/t/copying-from-serial-monitor/1071503/6
- https://forum.arduino.cc/t/copying-from-serial-monitor/1071503/8
- https://forum.arduino.cc/t/coping-multiple-lines-on-monitor-screen/1019346
- https://forum.arduino.cc/t/copy-paste-serial-monitor-not-possible-options/1058964
- https://forum.arduino.cc/t/why-does-click-into-serial-monitor-ctrl-a-mark-the-source-code/1128016
- https://forum.arduino.cc/t/text-selection-broken-in-ide-serial-monitor-2-1-1/1160156
- https://forum.arduino.cc/t/how-can-i-copy-the-whole-content-of-the-serial-monitor/1168904/2
- https://forum.arduino.cc/t/how-to-copy-entire-serial-monitor-output/1175060
- https://forum.arduino.cc/t/your-reason-for-not-switching-to-the-2-x-ide/1176322/47
- https://forum.arduino.cc/t/copy-paste-from-serial-monitor/1179986
- https://forum.arduino.cc/t/exception-decoder/1055759/9
### Issue checklist
- [X] I searched for previous reports in [the issue tracker](https://github.com/arduino/arduino-ide/issues?q=)
- [X] I verified the problem still occurs when using the latest [nightly build](https://github.com/arduino/arduino-ide#nightly-builds)
- [X] My report contains all necessary details
Note the comment:
it often only appears to only copy the stuff that is visible on the screen at the time.
There is a request for a context menu here:
opened 11:30PM - 05 Feb 22 UTC
topic: code
type: imperfection
topic: serial monitor
### Describe the problem
Let's say I have 1000 lines of debug output in the s… erial monitor window, how do I do a select all, such that I can copy it to the
clipboard?
With 1.8.19, I click the mouse into the monitor window and hit <kbd>**Ctrl**</kbd>+<kbd>**A**</kbd> and it selects all of the text. I can then hit <kbd>**Ctrl**</kbd>+<kbd>**C**</kbd>
to copy to clipboard.
### To reproduce
Run a sketch and try to select all of the text from Serial Monitor.
🐛 The contents of the sketch editor are selected when you press <kbd>**Ctrl**</kbd>+<kbd>**A**</kbd>:

### Expected behavior
I expected hitting <kbd>**Ctrl**</kbd>+<kbd>**A**</kbd> would select everything in that window not the source window.
### Arduino IDE version
#### Original report
Nightly build
#### Last verified with
9a6a457bc44fb16f646b9e61a9e8b336b3666412
### Operating system
Windows
### Operating system version
Not provided
### Additional context
And/Or alternative solution - context menu like for example TyCommander

---
Additional reports
- https://github.com/arduino/arduino-ide/issues/899
- https://github.com/arduino/arduino-ide/issues/1817
- https://github.com/arduino/arduino-ide/issues/1654
- https://github.com/arduino/arduino-ide/issues/1918
- https://forum.arduino.cc/t/copy-of-the-serie-monitor-output/1056049/1
- https://forum.arduino.cc/t/copy-of-the-serie-monitor-output/1056049/5
- https://forum.arduino.cc/t/serial-monitor-copy-only-copied-the-visible-logs/1051846/1
- https://forum.arduino.cc/t/serial-monitor-copy-only-copied-the-visible-logs/1051846/4
- https://forum.arduino.cc/t/using-v-2-0-serial-monitor-print/1034093
- https://forum.arduino.cc/t/serial-monitor-issues-hopefully-fixed-before-release/1026548
- https://forum.arduino.cc/t/serial-output-window-select-all-copy/1024251
- https://forum.arduino.cc/t/coping-multiple-lines-on-monitor-screen/1019346
- https://forum.arduino.cc/t/text-selection-serial-monitor/1005262
- https://forum.arduino.cc/t/upgrade-the-serial-monitor-for-better-function/980128
- https://forum.arduino.cc/t/ide-2-0-copy-from-serial-monitor-limited/1078391
- https://forum.arduino.cc/t/random-seed-does-not-deliver-random-numbers/1006762/10
- https://forum.arduino.cc/t/copying-from-serial-monitor/1071503/3
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/5
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/19
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/21
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/23
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/32
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/38
- https://forum.arduino.cc/t/copy-paste-data-from-the-serial-monitor/1041585/39
- https://forum.arduino.cc/t/arduino-ide-2-0-3-serial-monitor-cant-use-cntrl-a-to-capture-everything/1095266
- https://forum.arduino.cc/t/arduino-ide-serial-monitor-bug/1112653/7
- https://forum.arduino.cc/t/why-does-click-into-serial-monitor-ctrl-a-mark-the-source-code/1128016
- https://forum.arduino.cc/t/cannot-select-all-of-serial-data/1158236
- https://forum.arduino.cc/t/how-can-i-copy-the-whole-content-of-the-serial-monitor/1168904/1
- https://forum.arduino.cc/t/your-reason-for-not-switching-to-the-2-x-ide/1176322/47
#### Related
- https://github.com/arduino/arduino-ide/issues/1081
### Issue checklist
- [X] I searched for previous reports in [the issue tracker](https://github.com/arduino/arduino-ide/issues?q=)
- [X] I verified the problem still occurs when using the latest [nightly build](https://www.arduino.cc/en/software#nightly-builds)
- [X] My report contains all necessary details
There was a proposal for adding a copy button to the Arduino IDE Serial Monitor here:
arduino:master
← Pieter12345:serial-monitor-copy-btn
opened 11:40PM - 11 Mar 19 UTC
Add a copy button to the serial monitor that copies the text in the serial monit… or output area to the system clipboard. This is useful since ctrl-a + ctrl-c does not work when the serial monitor is spammed at a high rate.
This fixes https://github.com/arduino/arduino-ide/issues/1729.
I think the developer made a valid comment here:
I just started to wonder if we can avoid the button by adding a contextual menu on the serial monitor itself with 2 entries:
I think the right click context menu is an interface most users are already familiar with from it being standard in most applications. The advantage over a button is that it doesn't add any additional complexity/clutter to the GUI when the user does not have need for the capability. The context menu is there on demand when you need it, and out of sight when you don't need it.
Do you think a context menu with the standard "Select all " and "Copy " items would meet your needs @CamargoF ?
2 Likes
You can use a terminal emulator instead of Serial Monitor and Log To File.
Depending on your code, set up an in-sketch pause button? I have done that many times. I have also had only 20 lines printed.
Is there a way to have a terminal emulator run instead of Serial Monitor?
A link would be great, you don't have to type what's typed.
Color, cursor control, file and comms options all open up, working utility to Arduino.
It would be nice. I suspect that one of the problems is that the IDE can't control it, e.g. for upload.
One of the really cool advancements of Arduino IDE 2.x is the "pluggable monitor" system . The primary motivation for this system is to allow for any arbitrary communication channel with the computer to be monitored rather than assuming all boards communicate over a serial port.
Boards platform authors can provide their own custom monitor tools. However, this is a backend tool that only acts as an interface between the Arduino IDE's monitor and the board's communication channel. The tool does not replace the Serial Monitor GUI provided by the Arduino IDE. So I don't think this system fulfills your request.
In case you are interested in learning more, details are available in the Arduino Pluggable Monitor Specification:
https://arduino.github.io/arduino-cli/latest/pluggable-monitor-specification/
Perhaps what would be more relevant is this request:
opened 11:42PM - 12 Feb 21 UTC
topic: code
type: imperfection
criticality: high
**Describe the solution you'd like**
I would like to propose support for extern… al tools / plugins which are compatible with Arduino IDE. Ex. https://github.com/me-no-dev/arduino-esp32fs-plugin or https://github.com/me-no-dev/EspExceptionDecoder
If it is already supported, how can I use tools in Pro IDE?
If it is not supported yet, are there any plans for implementing that?
### Describe the problem
There is no support for extending the capabilities of Arduino IDE via external tools/plugins. This is a feature parity mismatch with Arduino IDE 1.x.
### To reproduce
1. Follow the instructions to install the "Arduino Pico LittleFS Filesystem Uploader" plugin:
https://github.com/earlephilhower/arduino-pico-littlefs-plugin#installation
1. Start Arduino IDE 2.x
1. Open the **Tools** menu.
🐛 The expected "**Pico LittleFS Data Upload**" menu item is missing.
### Expected behavior
Support for extending the capabilities of Arduino IDE via external tools/plugins equivalent to the system provided by Arduino IDE 1.x.
### Arduino IDE version
#### Original report
2.0.0-beta.1
#### Last verified with
2.0.2
### Operating system
All
### Operating system version
any
### Additional context
Other reports:
- https://github.com/me-no-dev/arduino-esp32fs-plugin/issues/30
- https://github.com/arduino/arduino-ide/issues/350
- https://github.com/arduino/arduino-ide/issues/239
- https://github.com/lorol/arduino-esp32fs-plugin/issues/8
- https://github.com/arduino/arduino-ide/issues/807
- https://github.com/earlephilhower/arduino-esp8266littlefs-plugin/issues/20
- https://github.com/earlephilhower/arduino-esp8266littlefs-plugin/issues/21
- https://github.com/earlephilhower/arduino-esp8266littlefs-plugin/issues/22
- https://github.com/me-no-dev/EspExceptionDecoder/issues/85
- https://forum.arduino.cc/t/exception-decoder/1055759
- https://forum.arduino.cc/t/exception-9-epc1-0x40100262-epc2-0x00000000-epc3-0x00000000-excvaddr-0xc010e109-depc-0x00000000/1054425/14
- https://forum.arduino.cc/t/esp-exception-decoder-for-arduino-2-0/1050587
- https://forum.arduino.cc/t/tool-menu-esp8266-littlefs-filesystem-uploader-not-displaying/1037055
- https://forum.arduino.cc/t/esp8266-sketch-data-upload/941933
- https://forum.arduino.cc/t/tools-for-arduino-ide-2-0-beta/894962
- https://forum.arduino.cc/t/ide-2-0-and-esp32-sketch-data-upload/904160
- https://forum.arduino.cc/t/add-tools-to-arduino-ide-2-0/893213
- https://forum.arduino.cc/t/ide-2-0-beta-10-not-yet-configurable-tools-menu/892980
- https://forum.arduino.cc/t/espexceptiondecoder-cant-be-found-in-tool-directory/876547
- https://forum.arduino.cc/t/nrf5-softdevice-flashing-tool/866336
- https://forum.arduino.cc/t/arduino-2-0-beta-no-ardublock/856338
- https://forum.arduino.cc/t/tools-directory-with-esp32fs-or-esp8266fs/703461
- https://forum.arduino.cc/t/tool-to-upload-data-to-spiffs-is-missing/699986
### Issue checklist
- [X] I searched for previous reports in [the issue tracker](https://github.com/arduino/arduino-ide/issues?q=)
- [X] I verified the problem still occurs when using the latest [nightly build](https://www.arduino.cc/en/software#nightly-builds)
- [X] My report contains all necessary details
It is possible that such a system could be used to add a custom monitor tool to the IDE.
Since Arduino IDE is built on the Eclipse Theia IDE framework , which is based on VS Code, it is possible to add VS Code extensions (in fact, most of what makes Arduino IDE 2.x an Arduino IDE is done via extensions). So perhaps you could already accomplish this via the extension system.
1 Like
I know it is a bypass, but my idea is to help the development of Arduino IDE 2.0.0.
This copy should be done on previous Arduino IDE version.
The right click menu is an excellent solution.
I didn't check the serial plotter yet, but a button to save the screen on image file will be nice too.
I didn't know about that.
I will check, Thanks.
My idea is use this interface option to simplify the interaction with the microcontroller, creating programmable buttons windows to send commands to serial port.
If I have success to do it I will share the solution with you all.
1 Like
I already have used terminals outside of the IDE instead of Serial Monitor, it's just trouble that beginners won't take.
If they could add cursor control, just up, down, left, right
we could show beginners smart key entry, editing and records browsing, standard actions in business to game software.
To be honest, when it comes to text on screen work, AVRs are lightning fast compared to what worked in offices 30-40 years ago.
This is a place where Arduino Org can cover a bigger use-niche for not-great effort.
system
Closed
February 2, 2023, 10:38am
11
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.