Skip to content

Commit d840569

Browse files
committed
WIP edit on debugging.
1 parent 4867a34 commit d840569

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

doc/sphinx/source/debugging/debug_python.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,21 @@ Macro Description Must
8686
See: :ref:`debug-version-of-python-memory_alloc-label`
8787
=================== ======================================================= ==============
8888

89+
90+
.. list-table:: Debug Macros
91+
:widths: 20 70 10
92+
:header-rows: 1
93+
94+
* - Macro
95+
- Description
96+
- Rebuild EXT?
97+
* - ``Py_DEBUG``
98+
- A standard debug build. ``Py_DEBUG`` sets ``LLTRACE``, ``Py_REF_DEBUG``, ``Py_TRACE_REFS``, and
99+
``PYMALLOC_DEBUG`` (if ``WITH_PYMALLOC`` is enabled).
100+
- Yes
101+
102+
103+
89104
Here is the description of other debug macros that are set by one of the macros above:
90105

91106
=================== =======================================================

0 commit comments

Comments
 (0)