http://llvm.org/bugs/show_bug.cgi?id=19209
Bug ID: 19209
Summary: size of std::list truncated to 255 in debugger
Product: lldb
Version: unspecified
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Created attachment 12260
--> http://llvm.org/bugs/attachment.cgi?id=12260&action=edit
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)
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev