title: IntelliJ JNI debugging
body: <p>I have an android application which does some real time sound processing. Since this task is time critical, I wrote the code that does the processing in C++, the rest of the application is Java. Android Studio supports JNI debugging no questions asked which made it easy for me to write the code. Then, I left the code alone and decided in the meanwhile to get rid of Android Studio and to use IntelliJ instead. </p>
  
  <p>Now, I had an issue in the native code and wanted to debug the C++ code, when I suddenly realized that I was unable to set breakpoints in the C++ code. </p>
  
  <p>I also tried to set a breakpoint in the java code just before the native call and hoped that by hitting "Step in" it would go inside the native code but instead, InteliJ just skipped over it.</p>
  
  <p>Also, the run configuration with dual debugging enabled (which I created in Android Studio back then) does not seem to work (Android Studio used to load a ton of libraries when launching the native debugger, IntelliJ does not do that).</p>
  
  <p>This seems odd to me, as - according to JetBrain's official blogpost - IntelliJ has all of Android Studio's features except for the project setup wizard. What am I missing here?</p>
  
  <p>Btw I am aware of <a href="https://stackoverflow.com/questions/19607007/debugging-android-jni-code-in-intellij-idea">this question</a> but its answers are outdated.</p>