title: GDB error while debugging in CLion
body: <p>I have this code:</p>
  
  <pre><code>#include&lt;bits/stdc++.h&gt;
  
  const int N = 100;
  int ar[N][N];
  
  int main() {
  
      return 0;
  }
  </code></pre>
  
  <p>I set breakpoint and start debugger and when i'm trying to watch content of whole array gdb throws exception:</p>
  
  <pre><code>../../../../src/gdb-7.11.1/gdb/gdbtypes.c:4575: internal-error: copy_type: Assertion `TYPE_OBJFILE_OWNED (type)' failed.
  A problem internal to GDB has been detected,
  further debugging may prove unreliable.
  </code></pre>
  
  <p>But debugger works with this code:</p>
  
  <pre><code>#include&lt;bits/stdc++.h&gt;
  
  const int N = 100;
  long long int ar[N][100];
  
  int main() {
  
      return 0;
  }
  </code></pre>
  
  <p>In first case I can watch value of single element of array.
  MinGW-w64 5.0 
  GNU gdb (GDB) 7.11.1</p>