<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Feb 10, 2015, at 1:24 PM, Carlo Kok <<a href="mailto:ck@remobjects.com" class="">ck@remobjects.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><br class=""><br class=""><a href="mailto:jingham@apple.com" class="">jingham@apple.com</a> schreef op 2/10/2015 om 10:18 PM:<br class=""><blockquote type="cite" class="">You can call:<br class=""><br class="">my_value.SetPreferDynamicValue(eNoDynamicValues)<br class=""><br class="">before fetching the type or value from an SBValue.<br class=""><br class=""></blockquote><br class="">Won't that make me unable to get the dynamic type afterwrds? The type seems to be cached<br class=""><br class=""></div></blockquote><div><br class=""></div><div>Not at the SBValue level</div><div><br class=""></div><div>The way this works is that you set the SBValue not to prefer the dynamic value - that changes the underlying ValueObject that we ask questions of from the dynamic value to the static value</div><div>When you flip the setting, we’ll try asking the dynamic value instead of the static one</div><div><br class=""></div><div>Refer to ValueImpl in SBValue.cpp to see how this works</div><br class=""><blockquote type="cite" class=""><div class=""><br class="">-- <br class="">Carlo Kok<br class="">RemObjects Software<br class="">_______________________________________________<br class="">lldb-dev mailing list<br class=""><a href="mailto:lldb-dev@cs.uiuc.edu" class="">lldb-dev@cs.uiuc.edu</a><br class="">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev<br class=""></div></blockquote></div><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Thanks,</div><div class=""><i class="">- Enrico</i><br class="">📩 egranata@<font color="#ff2600" class=""></font>.com ☎️ 27683</div><div class=""><br class=""></div></div></div></div></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br class=""></body></html>