Window.activate not allowing method to finish

I skimmed this and don’t see this question…

Are you saying that the Activate event is firing whenever you hit a breakpoint in the debugger? That’s completely plausible. If you then press “resume,” the app is brought to the foreground and the Activate event will fire.