| 9 | |
| 10 | == Writing new formatters |
| 11 | |
| 12 | New formatters for common types are always welcome. They are not hard to write; see <https://trac.webkit.org/changeset/234062> for an example of one being added. |
| 13 | |
| 14 | == Tips and tricks for writing formatters |
| 15 | |
| 16 | * Documentation is at https://lldb.llvm.org/varformats.html |
| 17 | * The lldb python bindings are documented at https://lldb.llvm.org/python_reference/ |
| 18 | * Xcode caches the formatters between runs. If debugging your formatter in Xcode. you have to quit and relaunch Xcode after each change. |
| 19 | * You can just print from the formatter code and it will show up in Xcode's debugger output window |