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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
5753075c
Commit
5753075c
authored
Nov 24, 2012
by
Mark Florisson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #153 from joonro/patch-2
Update cy break examples
parents
4b29260d
a98995f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
docs/src/userguide/debugging.rst
docs/src/userguide/debugging.rst
+5
-4
No files found.
docs/src/userguide/debugging.rst
View file @
5753075c
...
...
@@ -94,19 +94,20 @@ of these commands are analogous to their respective gdb command.
given::
(gdb) cy break cython_function_or_method
(gdb) cy break packagename.
modulename.cython
function
(gdb) cy break packagename.
modulename.ClassName.cython
method
(gdb) cy break packagename.
cython_module.cython_
function
(gdb) cy break packagename.
cython_module.ClassName.cython_
method
(gdb) cy break c_function
You can also break on Cython line numbers::
(gdb) cy break packagename.modulename:14
(gdb) cy break :14
(gdb) cy break cython_module:14
(gdb) cy break packagename.cython_module:14
Python breakpoints currently support names of the module (not the entire
package path) and the function or method::
(gdb) cy break -p pythonmodule.python_function_or_method
(gdb) cy break -p python
_
module.python_function_or_method
(gdb) cy break -p python_function_or_method
.. note:: Python breakpoints only work in Python builds where the Python frame
...
...
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