title: Inspecting STL containers in Visual Studio 2015
body: <p>I'm running Visual Studio Enterprise 2015, version 14.0.23107.0 D14REL.</p>
  
  <p>When debugging a C++ program I cannot see the contents of STL containers.</p>
  
  <p>I've got the "Show raw structure of objects in variables windows" option unchecked (Tools->Options->Debugging->General).</p>
  
  <p>Here's an example that illustrates the problem:</p>
  
  <pre><code>#include &lt;list&gt;
  #include &lt;string&gt;
  #include &lt;vector&gt;
  
  int main()
  {
      std::string string = "test";
      std::vector&lt;int&gt; vector{ 4, 5, 6 };
      std::list&lt;std::string&gt; list{ "one", "two", "three" };
      return 0;
  }
  </code></pre>
  
  <p>In the Locals or Watch windows I see the following:</p>
  
  <pre><code>list         [...]()
  vector       [...](...
    (error)    0
    (error)    0
  string       {npos=4294967295}
    (error)    0
    (error)    0
  </code></pre>
  
  <p>If I then check the "Show raw structure..." option, I can correctly drill down into the vector and string objects, but still not the list!</p>
  
  <p>Is there another option that I've missed, or is this a genuine bug in VS?</p>