diff --git a/docs/src/userguide/debugging.rst b/docs/src/userguide/debugging.rst index edc009950355bbc7fa4e1bcf851042ccda7935b9..084fbec7e8d66fe2a67d873d672e47d1825f1d9a 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