title: How to debug a shared library (.so) in VS2019 (NDK Projekt)
body: <p>I have a <strong>NDK Project</strong> in <strong>Visual Studio 2019</strong> which uses several shared libraries.</p>
  <p>In the project which contains the android_main function i can set breakpoints and use them without problems. If I set a breakpoint in one of my <strong>shared libraries (.so)</strong> and start the debugger I get this message:</p>
  <blockquote>
  <p><strong>The breakpoint will not currently be hit. Module containing this breakpoint has not yet loaded or the breakpoint address could not be obtained.</strong></p>
  </blockquote>
  <p>How can I load the missing symbols?</p>
  <p>I'm using the platform toolset Clang 5.0</p>
  <hr />
  <p>What I tried so far:</p>
  <p>With this command I proved that symbols are present:</p>
  <pre><code>llvm-nm -D libMySharedLib.so
  </code></pre>
  <h2>In the modules window (in debug mode) I can see that symbols are loaded for my .so module.</h2>
  <p>What I'm guessing is wrong:</p>
  <p>With NDK typically such problems show up when the debugging info is being stripped away. There is also an option to disable this behavior which is called &quot;donotstrip&quot; in Android Studio. But I'm on Visual Studio.</p>