title: Why I cannot debug java process with loaded my pkcs11 library on MacOS?
body: <p>I work with MacOS 11.4, Visual Code 1.60.2 with Microsoft Extension &quot;C/C++ IntelliSense, debugging, and code browsing&quot; for debugging. Build uses clang compiler.</p>
  <p>My Pkcs11 library is created with -g -O0 compile options.
  I have prepared launch.json for attaching with lldb and when I try command from menu: Run-&gt;Start Debugging then Code attaches to java process. I see in debugger log, that debugger was attached and some another info about settings breakpoints in my Pkcs11 library. I have two problems. Debugger does not stop at any of these breakpoints and pause button is not functional. These problems happens only when debugging java process under Visual Code.</p>
  <p>I am able to attach and debug the same java process with my pkcs11 library with help of command line lldb and all is functional and I am able also to attach and debug my own simple executable in Visual Code.</p>
  <p>What can be problem with java process and debugging from Visual Code  ? How to diagnose it ?</p>