Commit 5753075c authored by Mark Florisson's avatar Mark Florisson

Merge pull request #153 from joonro/patch-2

Update cy break examples
parents 4b29260d a98995f7
...@@ -94,19 +94,20 @@ of these commands are analogous to their respective gdb command. ...@@ -94,19 +94,20 @@ of these commands are analogous to their respective gdb command.
given:: given::
(gdb) cy break cython_function_or_method (gdb) cy break cython_function_or_method
(gdb) cy break packagename.modulename.cythonfunction (gdb) cy break packagename.cython_module.cython_function
(gdb) cy break packagename.modulename.ClassName.cythonmethod (gdb) cy break packagename.cython_module.ClassName.cython_method
(gdb) cy break c_function (gdb) cy break c_function
You can also break on Cython line numbers:: You can also break on Cython line numbers::
(gdb) cy break packagename.modulename:14
(gdb) cy break :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 Python breakpoints currently support names of the module (not the entire
package path) and the function or method:: 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 (gdb) cy break -p python_function_or_method
.. note:: Python breakpoints only work in Python builds where the Python frame .. note:: Python breakpoints only work in Python builds where the Python frame
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment