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
Kirill Smelkov
cython
Commits
a98995f7
Commit
a98995f7
authored
Oct 23, 2012
by
Joon Ro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update cy break examples
Updated cy break examples so they are more clear.
parent
498b9db0
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 @
a98995f7
...
...
@@ -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