Window stuck on top over Xcode while debugging

Often when debugging apps, they have windows that stay on top of all other windows when the app is paused via breakpoints, and they cover Xcode and the browser and I have to work around it by making them fullscreen.

This happens for example when debugging AU plugins in Logic with Logic’s plugin windows being on top of everything.

What do you do in these situations?

I move either the plug-in window or the Xcode window to the second screen I have.
With a single screen setup, I agree it would really be a bit of a nuisance.