<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jun 25, 2014 at 2:39 AM, Enrico Granata <span dir="ltr"><<a href="mailto:egranata@apple.com" target="_blank">egranata@apple.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><blockquote type="cite"><div class=""><div>On Jun 24, 2014, at 9:56 AM, Bruce Mitchener <<a href="mailto:bruce.mitchener@gmail.com" target="_blank">bruce.mitchener@gmail.com</a>> wrote:</div>
<br></div><div class=""><div><div dir="ltr">The frame variable command doesn't seem to obey printing depth limits, instead having a '-D' parameter that defaults to unlimited / infinity.<div><br></div></div></div>
</div></blockquote><div><br></div><div>Bruce,</div><div>I am not sure what “printing depth limits” you mean, if not the -D flag.</div><div>If that flag’s value is not honored, we should probably fix it. If you mean something else, can you elaborate a little bit more?</div>
</div></div></blockquote><div> </div><div>I meant the pointer depth limits aren't being obeyed (but I'm also not using pointers). The explanation from Greg in his response to my email was correct.</div><div><br></div>
<div>The -D flag does work.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div class=""><blockquote type="cite">
<div><div dir="ltr"><div>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.</div>

<div><br></div></div></div></blockquote><div><br></div></div><div>Is this done via pointers? And do you expose them as such? If so, the —ptr-depth would be the flag to use </div></div></div></blockquote><div><br></div><div>
Well, due to other issues (like the thread we have going on the commits list), I'm unable to use pointers. I've modified our run-time to instead represent Dylan values as uintptr_t so that I can have synthetic types for them.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div class=""><blockquote type="cite"><div><div dir="ltr"><div>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".</div>
<div><br></div></div></div></blockquote><div><br></div></div><div>No, but it would be interesting to have a way to set default arguments to commands - We don’t have that feature yet though</div></div></div></blockquote><div>
<br></div><div>It seems like just having a process or global setting here might be useful?</div><div><br></div><div>Right now, if we just run "frame variable" while debugging a Dylan app, we're pretty much guaranteed to hang LLDB.  We have to always pass a -D flag.</div>
<div><br></div><div>- Bruce</div><div><br></div></div></div></div>