title: Breakpoints stopped working - WPF app was Desktop-Bridged from Visual Studio
body: <p>Last month I <a href="https://docs.microsoft.com/en-us/windows/msix/desktop/desktop-to-uwp-root" rel="nofollow noreferrer">Desktop-Bridged</a> my one simple <code>WPF</code> app using in latest version of <code>VS2017 - ver 15.9</code> on <code>Windows10 - Update 1809</code>. The WPF app was also developed on the exact same environment. Last month, the <code>breakpoints</code> in debug mode were working.</p>
  
  <p>But today the breakpoints are not working. According to this <a href="https://docs.microsoft.com/en-us/windows/msix/desktop/desktop-to-uwp-debug#debug-your-app" rel="nofollow noreferrer">official link</a>:</p>
  
  <pre><code>If you created your package by using the new packaging project available in the 15.4 release of Visual Studio 2017, Just set the packaging project as the startup project, and then press F5 to debug your app.
  </code></pre>
  
  <p><strong>Please note</strong>:</p>
  
  <ol>
  <li>This month, I upgraded <code>VS2017</code> to <code>VS2019 - Ver16.1.3</code>. But that probably should not make any difference since my other old projects work fine in <code>VS2019</code>.</li>
  <li>As shown below, I've verified that the Packaging Project in the solution is indeed the Startup project (as instructed in the link above).</li>
  <li>The WPF app is a sample app using the code from <a href="https://docs.microsoft.com/en-us/dotnet/framework/wpf/controls/how-to-save-load-and-print-richtextbox-content" rel="nofollow noreferrer">here</a> with user interface shown in image 2 below.</li>
  </ol>
  
  <p><strong>Snapshot of <code>VS2019</code> solution</strong>:</p>
  
  <p><a href="https://i.stack.imgur.com/EpQ6L.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EpQ6L.png" alt="enter image description here"></a></p>
  
  <p><strong>UI of the app</strong>:</p>
  
  <p><a href="https://i.stack.imgur.com/skp7a.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/skp7a.gif" alt="enter image description here"></a></p>
  
  <p><strong>Snapshot of <code>VS2019</code> top toolbar</strong>:</p>
  
  <p><a href="https://i.stack.imgur.com/0eao8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0eao8.png" alt="enter image description here"></a></p>