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

Bruce Mitchener bruce.mitchener at gmail.com
Tue Jun 24 09:56:11 PDT 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140624/2ca0ee92/attachment.html>


More information about the lldb-dev mailing list