[lldb-dev] Selectively disabling value formatter

Enrico Granata via lldb-dev lldb-dev at lists.llvm.org
Mon Jan 25 16:34:06 PST 2016


> On Jan 25, 2016, at 4:09 PM, Vadim Chugunov via lldb-dev <lldb-dev at lists.llvm.org> wrote:
> 
> lldb-340.4.119 (OSX 10.11.3)
> 
> On Mon, Jan 25, 2016 at 3:42 PM, Siva Chandra <sivachandra at google.com <mailto:sivachandra at google.com>> wrote:
> On Mon, Jan 25, 2016 at 12:23 AM, Vadim Chugunov via lldb-dev
> <lldb-dev at lists.llvm.org <mailto:lldb-dev at lists.llvm.org>> wrote:
> > Hi,
> > If I have an SBValue for an object whose type has a formatter enabled for
> > it, is there a way to detect this via the Python API, and if so, request an
> > "unmodified" view of the object?
> > I've experimented with value.IsSynthetic() and value.GetNonSyntheticValue(),
> > but the former seems to always return false, and the latter gives me the
> > same list of children as the original value.
> 
> This was a problem way back in June '15 and Enrico fixed it. Which
> version of LLDB are you using?
> 
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


I have a hard time recalling which fix that was, I can look up old logs
With that said, if the fix happened in June ’15, it’s unlikely to be in lldb-340

I would encourage you to use trunk LLDB and see if that works better in your use case

Thanks,
- Enrico
📩 egranata@.com ☎️ 27683

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20160125/9d80dc12/attachment-0001.html>


More information about the lldb-dev mailing list