Metadata-Version: 2.4
Name: lvglgdb
Version: 0.3.0
Summary: LVGL GDB scripts
Project-URL: Homepage, https://lvgl.io
Project-URL: Documentation, https://docs.lvgl.io/master/debugging/gdb_plugin.html
Project-URL: Repository, https://github.com/lvgl/lvgl
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: numpy~=2.2.6
Requires-Dist: Pillow~=11.3.0
Requires-Dist: prettytable~=3.16.0

# lvglgdb

lvglgdb is a GDB script for LVGL.

# Installation

```bash
pip install lvglgdb
```

# Simple Usage

In your GDB session, run:
```bash
py import lvglgdb

dump obj
dump display -f png
dump cache image
dump cache image_header
check cache image
dump anim
dump timer
dump indev
dump group
dump image_decoder
dump fs_drv
dump draw_task <layer_expr>

# Inspect a single lv_style_t variable
info style my_style

# Inspect all styles of an lv_obj_t
info style --obj my_obj

# Show draw unit information
info draw_unit

# Show object class hierarchy
info obj_class obj->class_p

# Show subject and its observers
info subject &my_subject
```

# Structure

```mermaid
graph TD
    lvgl["lvgl<br/>(mem→python object)"]
    gdb_cmds["gdb_cmds<br/>(gdb commands)"]
    lvglgdb["lvglgdb"]

    lvglgdb --> lvgl
    lvglgdb --> gdb_cmds
    gdb_cmds --> lvgl

    classDef pkg fill:white,stroke:gray
    classDef core fill:white,stroke:gray
    class lvglgdb,lvgl,gdb_cmds pkg
```
