Display QString (Qt5) content in Visual Studio 2013 debugging?

I search this problem's answer for a long time, and final success saw the QString content by try check/uncheck mentioned options. Hope can help others.

display qstring content

  1. Install qt-vs-addin-msvc2013-2.0.0-beta.vsix
  2. Uncheck TOOLS->Debugging->Edit and Continue->Enable native Edit and Continue
    Uncheck TOOLS->Debugging->Edit and Continue->Enable native Edit and Continue

There is an explicit, native MSVC solution without the use of plugins etc.: see my answer from here

Say you have QString str, then add to the debugger session watch window:

Qt4:

((str).d)->array,su 

for Qt5 it's slightly more complicated:

(char*)str.d + str.d->offset,su