title: Qt Creator debugger doesn't show text contents of char* and wchar_t* variables
body: <p>Qt Creator does not show <code>char*</code> or <code>wchar_t*</code> variables as strings, while <code>std::string</code> and <code>std::wstring</code> are shown correctly.</p>
  
  <p>For example for this code:</p>
  
  <pre><code>const char *a = "abcd";
  const wchar_t *b = L"abcd";
  std::string c = "abcd";
  std::wstring d = L"abcd";
  </code></pre>
  
  <p>The debuger's Watch Window shows this:</p>
  
  <p><img src="https://i.stack.imgur.com/PvZqe.png" alt="enter image description here"></p>
  
  <p>As you can see, <code>c</code> and <code>d</code> are shown as text, but <code>a</code> and <code>b</code> are treated like regular pointers.</p>
  
  <p>Is there a setting that can make it show <code>char*</code> and <code>wchar_t*</code> the same way it shows <code>std::string</code> and <code>std::wstring</code>?</p>