Skip to content

Commit

Permalink
docs: Update CN translation for idf-monitor.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlotudy authored and dobairoland committed Jan 3, 2023
1 parent 1728633 commit 1089065
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/en/api-guides/tools/idf-monitor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ For easy interaction with IDF Monitor, use the keyboard shortcuts given in the t
-
* - Ctrl+C
- Interrupt running application
- Pauses IDF Monitor and run GDB_ project debugger to debug the application at runtime. This requires :ref:CONFIG_ESP_SYSTEM_GDBSTUB_RUNTIME option to be enabled.
- Pauses IDF Monitor and runs GDB_ project debugger to debug the application at runtime. This requires :ref:CONFIG_ESP_SYSTEM_GDBSTUB_RUNTIME option to be enabled.

Any keys pressed, other than ``Ctrl-]`` and ``Ctrl-T``, will be sent through the serial port.

Expand All @@ -72,13 +72,13 @@ IDF-specific features
Automatic Address Decoding
~~~~~~~~~~~~~~~~~~~~~~~~~~

Whenever the chip outputs a hexadecimal address which points to executable code, IDF monitor looks up the location in source code (file name and line number) and prints the location on the next line in yellow.
Whenever the chip outputs a hexadecimal address that points to executable code, IDF monitor looks up the location in the source code (file name and line number) and prints the location on the next line in yellow.

.. highlight:: none

.. only:: CONFIG_IDF_TARGET_ARCH_XTENSA

If an ESP-IDF app crashes and panics, a register dump and backtrace is produced, such as the following::
If an ESP-IDF app crashes and panics, a register dump and backtrace are produced, such as the following::

Guru Meditation Error of type StoreProhibited occurred on core 0. Exception was unhandled.
Register dump:
Expand Down
2 changes: 1 addition & 1 deletion docs/zh_CN/api-guides/tools/idf-monitor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ IDF 监视器是一个串行终端程序,用于收发目标设备串口的串
自动解码地址
~~~~~~~~~~~~~~~~

ESP-IDF 输出形式为 ``0x4_______`` 的十六进制代码地址后,IDF 监视器将使用 ``addr2line_`` 查找该地址在源代码中的位置和对应的函数名
每当芯片输出指向可执行代码的十六进制地址时,IDF 监视器将查找该地址在源代码中的位置(文件名和行号),并在下一行用黄色打印出该位置

.. highlight:: none

Expand Down

0 comments on commit 1089065

Please sign in to comment.