You are working on a tab and have selected the debug to display only message from that tab to reduce being overwhelmed my any other messages......
But the messages displayed are being wiped because the messages from other tabs - which are not being displayed - are pushing the ones you want to see off the screen.
I get what you are saying. And maybe someone will work out a better debug view in the future if someone has the time and inclination.
For me, I tend to disable the debug nodes if I want to keep the layout and know that I might want them again in the future. Just so that I know they are not sucking up resources. Not perfect but enough.