[lldb-dev] Selectively disabling value formatter

Siva Chandra via lldb-dev lldb-dev at lists.llvm.org
Mon Jan 25 16:16:03 PST 2016


On Mon, Jan 25, 2016 at 4:09 PM, Vadim Chugunov <vadimcn at gmail.com> wrote:
> lldb-340.4.119 (OSX 10.11.3)

I have no idea what that number means. May be Enrico can figure if
that build has the fix or not.

> On Mon, Jan 25, 2016 at 3:42 PM, Siva Chandra <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> 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?
>
>


More information about the lldb-dev mailing list