Lines Matching +full:find +full:- +full:up
2 # might find some of the following commands useful. Copy this to your
4 # start it up. Then, at the gdb prompt you can do things like:
7 # <module 'foobar' (built-in)>
14 # with embedded macros that you may find superior to what is in here.
19 # info - assigning just prevents gdb from printing the
40 while $_i < f->f_code->co_nlocals
41 if f->f_localsplus + $_i != 0
42 set $_names = f->f_code->co_varnames
45 pyo f->f_localsplus[$_i]
58 set $__co = f->f_code
59 set $__lasti = f->f_lasti
60 set $__sz = ((PyVarObject *)$__co->co_lnotab)->ob_size/2
61 set $__p = (unsigned char *)((PyBytesObject *)$__co->co_lnotab)->ob_sval
62 set $__li = $__co->co_firstlineno
64 while ($__sz-1 >= 0 && $__continue)
65 set $__sz = $__sz - 1
83 Print the current frame - verbose
87 set $__fn = PyUnicode_AsUTF8(f->f_code->co_filename)
88 set $__n = PyUnicode_AsUTF8(f->f_code->co_name)
102 #define up
103 # up-silently 1
108 # down-silently 1
124 # Explanation of while and if tests: We want to pop up the stack until we
142 up-silently 1
144 select-frame 0
155 up-silently 1
157 select-frame 0
160 Print the entire Python call stack - verbose mode