title: Debug Qt app in Visual Studio and inspect opaque objects (e.g. QDir or QFileInfo)
body: <p>I am debugging a Qt application in Visual Studio 2013. I have the official Visual Studio plugin from Qt installed. I can see the contents of <code>QString</code>, but for any other <code>QObject</code> such as a <code>QDir</code> or a <code>QFileInfo</code> object I am not able to see its contents.</p>
  
  <p>Am I doing something wrong or is this simply not possible?</p>
  
  <p>When I unfold a <code>QDir</code> instance I can only see a member named <code>d_ptr</code> which references a <code>QDirPrivate</code> object that I cannot inspect. I can also not call other functions of <code>QDir</code> or <code>QFileInfo</code> such as <code>path()</code>, or <code>filePath()</code> at runtime from the debugger. When I try that Visual Studio claims that the address of the function has been optimized away.</p>
  
  <p>Is there anyway to debug this without adding dozens of log statements to the program?</p>