LVGL GDB scripts
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lvglgdb-0.4.0.tar.gz.
File metadata
- Download URL: lvglgdb-0.4.0.tar.gz
- Upload date:
- Size: 65.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e18d6ba3a57d952f072d7fa3aca0d1d8971c3f7180aef3d4c5736479caf32c83
|
|
| MD5 |
bfe2a3f6fe5c74473abb68aeb9a07222
|
|
| BLAKE2b-256 |
80c797e5573aa64851bf829db9486535102e00d57d386f3ea29bc7bc6947acfb
|
File details
Details for the file lvglgdb-0.4.0-py3-none-any.whl.
File metadata
- Download URL: lvglgdb-0.4.0-py3-none-any.whl
- Upload date:
- Size: 88.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a29b04258305b2bda484502739979db639d8ffe423ae20feb34448d69b6a493
|
|
| MD5 |
c3581130986a0cc2598d98459ffdcdbb
|
|
| BLAKE2b-256 |
b283693782412d449ec708a23f2b3028ff5f7ebf247451e2f1d905965d677c90
|