Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
7b3486c2
Commit
7b3486c2
authored
Nov 12, 2011
by
Mark Florisson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: Remove debugger disclaimer
parent
116dbc81
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
+5
-9
docs/src/userguide/debugging.rst
docs/src/userguide/debugging.rst
+5
-9
No files found.
docs/src/userguide/debugging.rst
View file @
7b3486c2
...
@@ -6,12 +6,12 @@
...
@@ -6,12 +6,12 @@
Debugging
your
Cython
program
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
,
built
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
,
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
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
Python
2
(
or
at
least
it
should
be
able
to
find
the
Python
2
Cython
installation
).
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
.
...
@@ -19,7 +19,7 @@ This can be achieved from within the setup
...
@@ -19,7 +19,7 @@ This can be achieved from within the setup
script
by
passing
``
pyrex_gdb
=
True
``
to
your
Cython
Extenion
class
::
script
by
passing
``
pyrex_gdb
=
True
``
to
your
Cython
Extenion
class
::
from
Cython
.
Distutils
import
extension
from
Cython
.
Distutils
import
extension
ext
=
extension
.
Extension
(
'source'
,
'source.pyx'
,
pyrex_gdb
=
True
)
ext
=
extension
.
Extension
(
'source'
,
'source.pyx'
,
pyrex_gdb
=
True
)
setup
(...,
ext_modules
=[
ext
)]
setup
(...,
ext_modules
=[
ext
)]
...
@@ -38,15 +38,11 @@ debug information using the ``--gdb`` flag::
...
@@ -38,15 +38,11 @@ debug information using the ``--gdb`` flag::
cython --gdb myfile.pyx
cython --gdb myfile.pyx
.. note:: The debugger is newly part of Cython 0.14 and as such is still
experimental. CC markflorisson88@gmail.com in your TRAC tickets or
mailing list complaints.
Running the Debugger
Running the Debugger
=====================
=====================
.. highlight:: bash
.. highlight:: bash
To run the Cython debugger and have it import the debug information exported
To run the Cython debugger and have it import the debug information exported
by Cython, run ``cygdb`` in the build directory::
by Cython, run ``cygdb`` in the build directory::
$ python setup.py build_ext --pyrex-gdb --inplace
$ python setup.py build_ext --pyrex-gdb --inplace
...
@@ -57,7 +53,7 @@ by Cython, run ``cygdb`` in the build directory::
...
@@ -57,7 +53,7 @@ by Cython, run ``cygdb`` in the build directory::
When using the Cython debugger, it'
s
preferable
that
you
build
and
run
your
code
When using the Cython debugger, it'
s
preferable
that
you
build
and
run
your
code
with
an
interpreter
that
is
compiled
with
debugging
symbols
(
i
.
e
.
configured
with
an
interpreter
that
is
compiled
with
debugging
symbols
(
i
.
e
.
configured
with
``--
with
-
pydebug
``
or
compiled
with
the
``-
g
``
CFLAG
).
If
your
Python
is
with
``--
with
-
pydebug
``
or
compiled
with
the
``-
g
``
CFLAG
).
If
your
Python
is
installed
and
managed
by
your
package
manager
you
probably
need
to
install
debug
installed
and
managed
by
your
package
manager
you
probably
need
to
install
debug
support
separately
,
e
.
g
.
for
ubuntu
::
support
separately
,
e
.
g
.
for
ubuntu
::
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment