feat(lib): add lldb pretty-printers for some C lib types

This commit is contained in:
Will Lillis 2025-08-13 18:04:53 -04:00
parent be888a5fef
commit fee50ad0ce
5 changed files with 310 additions and 0 deletions

View file

@ -108,6 +108,13 @@ Additionally, if you want to run a particular _example_ from the corpus, you can
cargo xtask test -l javascript -e Arrays
```
If you are using `lldb` to debug the C library, tree-sitter provides custom pretty printers for several of its types.
You can enable these helpers by importing them:
```sh
(lldb) command script import /path/to/tree-sitter/lib/lldb_pretty_printers/tree_sitter_types.py
```
## Published Packages
The main [`tree-sitter/tree-sitter`][ts repo] repository contains the source code for