I'd expected that whenever I disabled the Autoscroll option in the Serial Monitor window it would freeze the display until I enabled it again. I see that I was mistaken, because after a delay (about 10 seconds or so for the sketch I'm currently running) it jumps to a later set of results. Presumably when another screen's worth of results have been printed, replacing those I'm viewing.
I'm trying to study a few successive debugging prints that are rarities within scores or hundred of other print lines. How is that usually done please?
EDIT: One obvious method that occurred to me a few minutes later: take a screenshot. Lets me view at leisure. But an obvious downside is that I can't copy paste from it (without an OCR tool).
But I'd welcome any other suggestions please.
I will try to install 1.8.19 (it's time) but I doubt it makes a difference.
Does it replace as in "the Serial monitor gets wiped clean")? Serial Monitor should not have any knowledge how your printing is organised so it should not jump to the end.
Started a video recording with the intention of clarifying - but this time it froze and stayed frozen. Like a buggy TV that behaves perfectly when the engineer arrives.
Does it replace as in "the Serial monitor gets wiped clean"?
No. What it was doing was freezing, then while I was viewing the results it would restart scrolling. Basically as if I'd re-enabled Autoscroll. The sketch is playing MP3 music tracks with the DFMiniPlay module and responding to button actions.
The Serial Monitor has a buffer. Once that is full, the oldest data starts to disappear. That causes scrolling even when autoscroll is disabled:
The buffer is especially large on the Arduino IDE 1.x, so if your sketch prints data at a reasonable rate then you would have to wait a very long time to experience the scrolling. But you might create a sketch that prints at a high rate and you would have the scrolling more often with such a sketch.
This is more likely when using a sketch on a board with native USB capabilities (e.g., Leonardo, MKR), which disregard the baud rate setting.