[lldb-dev] Help with C++ API
Jakob Leben
jakob.leben at gmail.com
Wed Aug 28 14:01:00 PDT 2013
On Wed, Aug 28, 2013 at 11:25 AM, Enrico Granata <egranata at apple.com> wrote:
> 2. For std::vector, GetNumChildren() returns -1 (with preference for
> synthetic)! However, reading children using GetChildAtIndex() etc.
> still succeeds.
>
>
> Interesting. Test case?
See attached files for debugger and debugee programs.
The output of debugger is always:
count = -1
val = 11
val = 12
val = 13
This is when both debugger and debugee are built either with clang or gcc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debugee.cpp
Type: text/x-c++src
Size: 80 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20130828/cd5b8f9b/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debugger.cpp
Type: text/x-c++src
Size: 2499 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20130828/cd5b8f9b/attachment-0001.cpp>
More information about the lldb-dev
mailing list