How to try/catch all exceptions
<p>I'm completing a UWP app started by someone else. The app crashes frequently and I always end up in <strong>App.g.i.cs</strong> at</p>

<pre><code>if (global::System.Diagnostics.Debugger.IsAttached)
    global::System.Diagnostics.Debugger.Break(); 
</code></pre>

<p>where I then have to say "no, don't start the debugger" and close 2 windows.</p>

<p>Is there somewhere I could put a big try/catch so that I don't have to restart the app each time this happen? I can't find anything in <code>AppShell</code> or <code>App</code>. </p>

<p>Or do I have to put a try/catch in every single event handler?</p>