This happened now 3-4 times with me and I created ticket #78852 for it. After it goes blanc I tried to force the IDE to show my code, the inspector etc. all without success. Only quit Xojo and start it up again with my project is leftover as recovery.
I am running on a i5-6600K@3.50Ghz 16Gb memory with Windows 11Pro on the latest update.
Along those lines, when that happens you should open task manager and see if you’ve run out of memory or GPU memory. It could be that the system can’t draw anything else.