Commit 511c8ce2 authored by Joon Ro's avatar Joon Ro

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
parent 652cb149
...@@ -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