Commit a647712f authored by Mark Florisson's avatar Mark Florisson

Document 'cy finish' and 'cy select'

parent b011acd8
...@@ -133,12 +133,23 @@ of these commands are analogous to their respective gdb command. ...@@ -133,12 +133,23 @@ of these commands are analogous to their respective gdb command.
Go up and down the stack to what is considered a relevant frame. Go up and down the stack to what is considered a relevant frame.
.. function:: cy finish
Execute until an upward relevant frame is met or something halts
execution.
.. function:: cy bt .. function:: cy bt
cy backtrace cy backtrace
Print a traceback of all frames considered relevant. The ``-a`` option Print a traceback of all frames considered relevant. The ``-a`` option
makes it print the full traceback (all C frames). makes it print the full traceback (all C frames).
.. function:: cy select
Select a stack frame by number as listed by ``cy backtrace``. This
command is introduced because ``cy backtrace`` prints a reversed stack
trace, so frame numbers differ from gdb's ``bt``.
.. function:: cy print varname .. function:: cy print varname
Print a local or global Cython, Python or C variable (depending on the Print a local or global Cython, Python or C variable (depending on the
......
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