title: Debug vs Run in Qt Creator. Different numerical values
body: <p>I work on C++ Qt project in QtCreator. There is some manipulation with data (for ex. std::double type). When I start debug without any breakpoint then my application shows correct data (-8.7357). But when I run already compiled program I've got (-8). What could be reason for this situation?</p>
  <h3>Below is a piece of my json file:</h3>
  <pre><code>{
  ...
  &quot;sources&quot;: [
      [-8.30000, -1.43300, 0],
      [-8.73575, -1.76287, -0.24404],
      [-8.68767, -1.72513, 0.35267],
      [-8.24991, -1.39526, 0.59671],
      [-7.86225, -1.10313, 0.24404],
      [-7.91233, -1.14087, -0.35267],
      [-8.35009, -1.47074, -0.59671]
  ]
  ...
  }
  </code></pre>
  <h3>Parsing that file:</h3>
  <pre><code>Json::Value root;
  std::ifstream jsonFile(pathToJsonFile);
  jsonFile &gt;&gt; root;
  ...
  Json::Value srsc = root[&quot;sources&quot;];
  for (Json::Value::ArrayIndex i = 0; i != srsc.size(); i++)
  {
     Json::Value src = Json::arrayValue;
     src = srsc[i];
  
     Antenna::centerPoint cp;
     cp.x = src.get(Json::ArrayIndex(0), Json::Value()).asDouble();
     cp.y = src.get(Json::ArrayIndex(1), Json::Value()).asDouble();
     cp.z = src.get(Json::ArrayIndex(2), Json::Value()).asDouble();
     an.sources[i] = cp;
  }
  </code></pre>
  <h3>Setting data to the model then show it on screen:</h3>
  <pre><code>for(unsigned int row = 0; row &lt; an.sources.size(); row++)
  {
      model-&gt;setData(model-&gt;index(row, 0), an.sources[row].x);
      model-&gt;setData(model-&gt;index(row, 1), an.sources[row].y);
      model-&gt;setData(model-&gt;index(row, 2), an.sources[row].z);
  }
  ...
  ui-&gt;sourcesTableView-&gt;setModel(model);
  </code></pre>
  <h3>I'm using:</h3>
  <p>I am under Linux astra 4.15.3-2-generic OS<br />
  GCC compiler - gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516.<br />
  cmake version 3.7.2<br />
  gdb debuger - GNU gdb (Debian 7.12-6) 7.12.0.20161007-git</p>