title: Can't step into function during debugging session in Clion
body: <p>I am trying out CLion as new IDE and I have this odd problem with debugging. I am trying to step into function cropImage (not method) but all I can get when stepping into is to get to constructor of CRect.</p>
  
  <pre><code>int main ( void )
  {
      cropImage( "./sample/input_00.raw", "./output_00.raw", CRect(1,2,3,4), ENDIAN_LITTLE);
      return 0;
  }
  </code></pre>
  
  <p>Also, when I try to put breakpoint inside function <code>cropImage()</code> it just get ignored. What am I doing wrong? I think this is pretty much basic function of debugger to step into function, not only methods...</p>
  
  <p>I am using CLion on Linux with GDB and g++.</p>
  
  <p>EDIT:
  Just to clarify the code and issue here is how the file main.cpp looks</p>
  
  <pre><code>bool cropImage ( const char  * srcFileName,
                   const char  * dstFileName,
                   const CRect &amp; rc,
                   int           byteOrder )
  {
      // Open streams, create objects, do stuff
  }
  
  int main ( void )
  {
      cropImage( "./sample/input_00.raw", "./output_00.raw", CRect(1,2,3,4), ENDIAN_LITTLE);
      return 0;
  }
  </code></pre>
  
  <p>Everything works from CLI ( using gdb on binary created from CLion ), it just that inside of IDE it ignores any breakpoint inside <code>cropImage()</code> function.</p>