[lldb-dev] frame variable command, child objects, depth limits

Greg Clayton gclayton at apple.com
Tue Jun 24 11:31:07 PDT 2014

The depth limits only currently apply to pointers and references. Anything that is considered and instance will always have the entire contents printed.

Would this explain what you are seeing?


> On Jun 24, 2014, at 9:56 AM, Bruce Mitchener <bruce.mitchener at gmail.com> wrote:
> The frame variable command doesn't seem to obey printing depth limits, instead having a '-D' parameter that defaults to unlimited / infinity.
> In the Dylan language implementation, we have objects that refer to themselves regularly (example is an empty list is a pair, head and tail, each of which points to the empty list). There are plenty of other situations where this happens.
> I thought that perhaps I would just set a different default when loading my scripts, but there doesn't seem to be a setting for the depth parameter to "frame variable".
> Some example output of what I've done can be seen: http://hastebin.com/nugasalavu.lua
> Any advice on solving the issue with reference loops in child objects?
> Thanks,
>  - Bruce
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

More information about the lldb-dev mailing list