<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - size of std::list truncated to 255 in debugger"
   href="http://llvm.org/bugs/show_bug.cgi?id=19209">19209</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>size of std::list truncated to 255 in debugger
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>guiqing0402@gmail.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=12260" name="attach_12260" title="screenshot_on_breakpoint">attachment 12260</a> <a href="attachment.cgi?id=12260&action=edit" title="screenshot_on_breakpoint">[details]</a></span>
screenshot_on_breakpoint

I'm using xcode for the C++ part of some iOS app.

When I use std::list, I see its size never go beyond 255 in the lldb. But when
I call the size(), it seems correct inside the container.

Case1:
std::list<int> var1;
var1.resize(300);
// XCode shows 255, see the attachment
// (lldb) frame variable var1 --show-all-children 
// the lldb only unfold the elements to [254]


Case2:
std::vector var1;
var1.resize(300);
// XCode shows 300, see the attachment
// (lldb) frame variable var1 --show-all-children 
// the lldb only unfold the elements to [299]

This can be reproduced on Xcode 4.6 (OS X10.8.4) and Xcode 5.0 (OS X 10.9)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>