lvglgdb
GDB Python extension for inspecting and debugging LVGL internals. Works with live debugging sessions, core dumps, and other GDB-compatible targets.
Installation
pip install lvglgdb
Usage
In your GDB session:
py import lvglgdb
Dump Commands
dump obj # Dump widget tree
dump display -f png # Dump display framebuffer as PNG
dump cache image # Dump image cache entries
dump cache image_header # Dump image header cache entries
check cache image # Validate image cache integrity
dump anim # Dump active animations
dump timer # Dump registered timers
dump indev # Dump input devices
dump group # Dump focus groups
dump image_decoder # Dump registered image decoders
dump fs_drv # Dump filesystem drivers
dump draw_task <layer_expr> # Dump draw tasks for a layer
dump dashboard # Generate interactive HTML dashboard
dump dashboard -o out.html # Save dashboard to file
Info Commands
info style my_style # Inspect a single lv_style_t
info style --obj my_obj # Inspect all styles of an lv_obj_t
info draw_unit # Show draw unit information
info obj_class obj->class_p # Show object class hierarchy
info subject &my_subject # Show subject and its observers
Dashboard
dump dashboard generates a self-contained HTML file with an interactive 3D
layer view, widget tree, style inspector, cache stats, animation list, and
draw buffer previews (RGB565 / RGB888 / ARGB8888 / XRGB8888).
Structure
graph TD
lvgl["lvgl<br/>(mem → python objects)"]
cmds["cmds<br/>(GDB commands)"]
formatter["formatter<br/>(display logic)"]
dashboard["cmds/dashboard<br/>(HTML renderer)"]
cmds --> formatter
cmds --> lvgl
dashboard --> lvgl
formatter --> lvgl
classDef pkg fill:white,stroke:gray
class lvgl,cmds,formatter,dashboard pkg
Metadata
Release files for lvglgdb 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lvglgdb-0.5.0.tar.gz | 89.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lvglgdb-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 223.6 kB
Release files / lvglgdb-0.5.0.tar.gz
| Download URL | lvglgdb-0.5.0.tar.gz |
|---|---|
| Size | 89.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d63c8cf9f4c5c07fc013225252a717567049ca9ea61f386dfdadfb5632089756
|
|
BLAKE2b-256 checksum How to use checksums |
5f4ab5df68b253056ef040bc363d9982b6ee7dc454dbf7de619199738b1c4a81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / lvglgdb-0.5.0-py3-none-any.whl
| Download URL | lvglgdb-0.5.0-py3-none-any.whl |
|---|---|
| Size | 134.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fc16deb06888246d58ab213916a57e3670c4f875837f8842e3b5bc2f9ba8f223
|
|
BLAKE2b-256 checksum How to use checksums |
ca450e0da516e254a12b23acc5c450ec5b2a6035aad1452bb696979b76834de3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|