Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Update cy break examples #153

Merged
merged 1 commit into from

2 participants

@joonro

Updated cy break examples so notations are more clear. 

Thanks!!

Joon Ro Update cy break examples
Updated cy break examples so they are more clear. 
a98995f
@markflorisson
Collaborator

Thanks!

@markflorisson markflorisson merged commit 5753075 into cython:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 23, 2012
  1. Update cy break examples

    Joon Ro authored
    Updated cy break examples so they are more clear. 
This page is out of date. Refresh to see the latest.
Showing with 5 additions and 4 deletions.
  1. +5 −4 docs/src/userguide/debugging.rst
View
9 docs/src/userguide/debugging.rst
@@ -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.cythonfunction
- (gdb) cy break packagename.modulename.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::
- (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
Something went wrong with that request. Please try again.