Skip to content

Commit

Permalink
Merge branch 'doc/refer_gdbstub_indebug_section' into 'master'
Browse files Browse the repository at this point in the history
docs(jtag-debugging): Add links to gdbstub for convenience

Closes IDFGH-10898

See merge request espressif/esp-idf!25751
  • Loading branch information
gerekon committed Oct 4, 2023
2 parents 4ec2c70 + c17d9ff commit acc04fc
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
10 changes: 9 additions & 1 deletion docs/en/api-guides/jtag-debugging/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,15 @@ JTAG Debugging

:link_to_translation:`zh_CN:[中文]`

This document provides a guide to installing OpenOCD for {IDF_TARGET_NAME} and debugging using GDB. The document is structured as follows:
This document provides a guide to installing OpenOCD for {IDF_TARGET_NAME} and debugging using GDB.

.. note::

You can also debug your {IDF_TARGET_NAME} without needing to setup JTAG or OpenOCD by using ``idf.py monitor``. See: :doc:`../../api-guides/tools/idf-monitor` and :ref:`CONFIG_ESP_SYSTEM_GDBSTUB_RUNTIME`.

.. highlight:: none

The document is structured as follows:

:ref:`jtag-debugging-introduction`
Introduction to the purpose of this guide.
Expand Down
10 changes: 9 additions & 1 deletion docs/zh_CN/api-guides/jtag-debugging/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,15 @@ JTAG 调试

:link_to_translation:`en:[English]`

本文将介绍如何安装 {IDF_TARGET_NAME} 的 OpenOCD 调试环境,以及如何使用 GDB 来调试 {IDF_TARGET_NAME} 的应用程序。本文结构如下:
本文将介绍如何安装 {IDF_TARGET_NAME} 的 OpenOCD 调试环境,以及如何使用 GDB 来调试 {IDF_TARGET_NAME} 的应用程序。

.. note::

也可以使用 ``idf.py monitor`` 来调试 {IDF_TARGET_NAME},免于设置 JTAG 或 OpenOCD。请参阅 :doc:`../../api-guides/tools/idf-monitor` 和 :ref:`CONFIG_ESP_SYSTEM_GDBSTUB_RUNTIME`。

.. highlight:: none

本文档结构如下:

:ref:`jtag-debugging-introduction`
介绍本指南主旨。
Expand Down

0 comments on commit acc04fc

Please sign in to comment.