chore(doc): add new debugging folder

Now debugging folder includes below tools.
- gdb
- profiler
- logging
- VGLite simulator

Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
This commit is contained in:
Neo Xu 2024-10-06 15:38:34 +08:00 committed by Gabor Kiss-Vamosi
parent d460edbcac
commit a0d3efed88
7 changed files with 27 additions and 17 deletions

View File

@ -1,19 +1,19 @@
.. _tools:
.. _gdb_plugin:
=====
Tools
=====
===========
GDB Plug-In
===========
LVGL has provided many tools to help you develop and debug your application. They are located in the ``lvgl/scripts`` directory.
Debugging LVGL with GDB
-----------------------
GDB Plugin
**********
### Debugging LVGL with GDB
To facilitate debugging LVGL with GDB, a GDB plugin is provided. This plugin can be found in the ``lvgl/scripts/gdb`` directory.
The GDB plugin can be used with any target where GDB is available. For example, you can use it to debug a device connected to a PC via JLink, which provides a GDB server. Additionally, if your device crashes and you have a core dump, you can use GDB to analyze the core dump.
To load the LVGL GDB plugin within GDB's command line, type the following command:
To facilitate debugging LVGL with GDB, a GDB plugin is provided. This plugin
can be found in the ``lvgl/scripts/gdb`` directory. The GDB plugin can be used
with any target where GDB is available. For example, you can use it to debug a
device connected to a PC via JLink, which provides a GDB server. Additionally,
if your device crashes and you have a core dump, you can use GDB to analyze the
core dump. To load the LVGL GDB plugin within GDB's command line, type the
following command:
``source lvgl/scripts/gdb/lvgl.py``

View File

@ -0,0 +1,13 @@
.. _debugging:
==============
Debugging LVGL
==============
.. toctree::
:maxdepth: 2
log
profiler
vg_lite_tvg
gdb_plugin

View File

@ -23,8 +23,6 @@ Overview
fs
animations
timer
profiler
renderers/index
new_widget
vg_lite_tvg
debugging
debugging/index

View File

@ -15,5 +15,4 @@ Porting
timer_handler
sleep
os
log
draw