Commit c9ec897b authored by Mark Florisson's avatar Mark Florisson

Update debugger page with experimental note + python 3 usage

parent 53193ff6
...@@ -8,7 +8,11 @@ Debugging your Cython program ...@@ -8,7 +8,11 @@ Debugging your Cython program
Cython comes with an extension for the GNU Debugger that helps users debug Cython comes with an extension for the GNU Debugger that helps users debug
Cython code. To use this functionality, you will need to install gdb 7.2 or Cython code. To use this functionality, you will need to install gdb 7.2 or
higher, build with Python support (linked to Python 2.5 or higher). higher, built with Python support (linked to Python 2.5 or higher).
The debugger supports debuggees with versions 2.6 and higher. For Python 3,
code should be built with Python 3 and the debugger should be run with
Python 2 (or at least it should be able to find the Python 2 Cython
installation).
The debugger will need debug information that the Cython compiler can export. The debugger will need debug information that the Cython compiler can export.
This can be achieved from within the setup This can be achieved from within the setup
...@@ -34,11 +38,9 @@ debug information using the ``--gdb`` flag:: ...@@ -34,11 +38,9 @@ debug information using the ``--gdb`` flag::
cython --gdb myfile.pyx cython --gdb myfile.pyx
.. note:: The debugger is not yet part of Cython, but can currently .. note:: The debugger is newly part of Cython 0.14 and as such is still
be retrieved here: experimental. CC markflorisson88@gmail.com in your TRAC tickets or
https://github.com/markflorisson88/cython. mailing list complaints.
This is a branch of Cython and can as such be used standalone, or
pulled into the mainline Cython branch (https://github.com/cython/cython).
Running the Debugger Running the Debugger
===================== =====================
...@@ -77,6 +79,7 @@ argument:: ...@@ -77,6 +79,7 @@ argument::
$ cygdb -- $ cygdb --
Using the Debugger Using the Debugger
=================== ===================
The Cython debugger comes with a set of commands that support breakpoints, The Cython debugger comes with a set of commands that support breakpoints,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment