[lldb-dev] Python type summaries

John Firebaugh john.firebaugh at gmail.com
Mon Feb 20 13:46:21 PST 2012


I'm having trouble getting a custom type summary to work. I can get a
basic `type summary add --python-script` command to work, but not the
-P or -F options. -P segfaults, and -F just doesn't seem to work.

Here's what I'm doing: https://gist.github.com/1871632

Any ideas? Is the llvm included with Xcode 4.3 already too old for this feature?

Also, I was held up temporarily by a few documentation errors:

In varformats.html, "or somehow loaded it from a file, using the
`script import` command" should read "or somehow loaded it from a
file, using the `command script import` command".

In python-reference.html, there are several references to
__lldb_module_init that should be __lldb_init_module.

Thanks,
John




More information about the lldb-dev mailing list