Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cython
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenVMS
Python
Modules
cython
Commits
d98f3084efbf
Commit
d98f3084efbf
authored
12 years ago
by
Joon Ro
Browse files
Options
Downloads
Patches
Plain Diff
Update cy break examples
Updated cy break examples so they are more clear.
parent
a0de7f0fff41
No related branches found
No related tags found
Loading
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/src/userguide/debugging.rst
+5
-4
5 additions, 4 deletions
docs/src/userguide/debugging.rst
with
5 additions
and
4 deletions
docs/src/userguide/debugging.rst
+
5
−
4
View file @
d98f3084
...
...
@@ -94,9 +94,9 @@
given::
(gdb) cy break cython_function_or_method
(gdb) cy break packagename.module
name
.cythonfunction
(gdb) cy break packagename.module
name
.ClassName.cythonmethod
(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::
...
...
@@ -99,6 +99,5 @@
(gdb) cy break c_function
You can also break on Cython line numbers::
(gdb) cy break packagename.modulename:14
(gdb) cy break :14
...
...
@@ -104,5 +103,7 @@
(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::
...
...
@@ -105,8 +106,8 @@
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment