summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoon Ro <joonpyro@gmail.com>2012-10-23 18:36:05 -0500
committerJoon Ro <joonpyro@gmail.com>2012-10-23 18:36:05 -0500
commit511c8ce2dd2fd1433fca9d743d37524515a067cc (patch)
treece8abe3d894f28e02ca2d65ce162be0c2b2115c7
parent652cb1496d79e388facec8e45fde0ecc6c176bbf (diff)
downloadcython-511c8ce2dd2fd1433fca9d743d37524515a067cc.tar.gz
Update cy break examples
Updated cy break examples so they are more clear.  --HG-- extra : transplant_source : %FA%95%96M2%1A%D7%40%7B%24%BA%95%99%86%D5t%8F%19%C6%09
-rw-r--r--docs/src/userguide/debugging.rst9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/src/userguide/debugging.rst b/docs/src/userguide/debugging.rst
index edc009950..084fbec7e 100644
--- a/docs/src/userguide/debugging.rst
+++ b/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