title: Debug dll file with the dll source code C++
body: <p>I Use QtCreator IDE with <code>MSVC2017</code> in MS-Windows with <code>QMake</code> build-system. For summarizing my problem with debugging, I'll give you an example:<br>
  I create a project named <code>library</code> with this files:<br>
  <strong>library.h</strong></p>
  
  <pre><code>#ifndef A
  #define A
  
  #include &lt;stdio.h&gt;
  
  #ifdef __cplusplus
  extern "C"
  #endif
  __declspec(dllexport) void some_function(void);
  
  #endif
  </code></pre>
  
  <p><strong>library.c</strong></p>
  
  <pre><code>#include "library.h"
  void some_function(void)
  {
      printf("We are in the %s::%d\n", __FUNCTION__, __LINE__);
  }
  </code></pre>
  
  <p>And i made a <code>.dll</code> and <code>.lib</code> from my <code>library</code> project. I used in another project and while i try to debugging i could see the <code>.dll</code> function source code:<br>
  <strong>main.cpp</strong></p>
  
  <pre><code>#include "library.h"
  
  int main (void)
  {
      some_function(); /* Put the break point right here,
                        * And i could see the source code
                        * while debugging.
                        */
  }
  
  </code></pre>
  
  <p>In the above example everything is right, What could be problematic to not let me see the my <code>.dll</code> source code while debugging ?</p>