mirror of
https://github.com/lvgl/lvgl.git
synced 2024-11-23 09:43:41 +08:00
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:
parent
d460edbcac
commit
a0d3efed88
@ -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``
|
||||
|
13
docs/overview/debugging/index.rst
Normal file
13
docs/overview/debugging/index.rst
Normal file
@ -0,0 +1,13 @@
|
||||
.. _debugging:
|
||||
|
||||
==============
|
||||
Debugging LVGL
|
||||
==============
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
log
|
||||
profiler
|
||||
vg_lite_tvg
|
||||
gdb_plugin
|
@ -23,8 +23,6 @@ Overview
|
||||
fs
|
||||
animations
|
||||
timer
|
||||
profiler
|
||||
renderers/index
|
||||
new_widget
|
||||
vg_lite_tvg
|
||||
debugging
|
||||
debugging/index
|
||||
|
@ -15,5 +15,4 @@ Porting
|
||||
timer_handler
|
||||
sleep
|
||||
os
|
||||
log
|
||||
draw
|
||||
|
Loading…
Reference in New Issue
Block a user