Skip to content
Snippets Groups Projects
Commit d98f3084efbf authored by Joon Ro's avatar Joon Ro
Browse files

Update cy break examples

Updated cy break examples so they are more clear. 
parent a0de7f0fff41
No related branches found
No related tags found
Loading
......@@ -94,9 +94,9 @@
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::
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment