Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix cygdb (GH-3542) | Volker-Weissmann | 2020-08-24 | 1 | -40/+94 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Cython debugger documentation: Added link to an installation script. * Got a new libpython.py from the cpython source distribution. * Default language level in tests is now 3 instead of 2 * Migrated codefile from python 2 to python 3. * Added testcase for the cy list command in cygdb. * Temporarily removing test case that freezes gdb. * Fixed a bug that broke several Cygdb tests. The cython_debug/cython_debug_info_* files map the names of the C-functions generated by the Cython compiler to the names of the functions in the *.pyx source. If the function was defined using "def" (and not "cpdef" or "cdef") in the *.pyx source file, the C-function named in cython_debug/cython_debug_info_* used to be __pyx_pw_*, which is the name of the wrapper function and now it is __pyx_f_*, which is the name of the actual function. This makes some Cygdb tests pass that did not pass before. * Better error messages: If a cygdb command raises, a traceback will be printed. * Fixed a bug in cygdb. The following now works: 1. Start cygdb 2. Type "cy exec" and hit enter 3. Type some other lines 4. Type "end" and hit enter. -> These "other lines" will get executed * Fixed a bug in cygdb: cy list now works outside of functions. * Added print_hr_allmarkers function for easier debugging. * Fixed a bug that broke cygdb: cy break did not work if you put the breakpoint outside of a function if there was e.g. the following somewhere in your *.pyx file: cdef class SomeClass(): pass * Added a Cygdb test for printing global variables. * Fixing cygdb: Replaced cy print with a simple, working solution. * If an exception in Cygdb occurs, a stacktrace will be printed. * Fixed a bug that broke cy break -p * Bugfix: The compiler now writes out correctly which cython linenumber and path corresponds to which c linenumber. * Set language_level=2 in runtests.py | ||||
* | Fix many indentation and whitespace issues throughout the code base (GH-3673) | scoder | 2020-06-10 | 1 | -3/+3 |
| | | | … and enforce them with pycodestyle. | ||||
* | Fixed gdb C call to free() that broke "cy exec". (GH-3487) | Volker-Weissmann | 2020-04-03 | 1 | -1/+1 |
| | |||||
* | Update libpython from latest CPython upstream (1ceb3a3d17). | Stefan Behnel | 2019-03-31 | 1 | -33/+67 |
| | |||||
* | Update URLs to https:// in docs and comments | Jon Dufresne | 2019-01-11 | 1 | -3/+3 |
| | |||||
* | Remove support for Py2.6 and various quirks that special-cased it.gh2692_remove_py26_support | Stefan Behnel | 2018-10-30 | 1 | -3/+3 |
| | | | | Closes #2692. | ||||
* | Misc. typos | luz.paz | 2018-07-13 | 1 | -1/+1 |
| | | | Found via `codespell -q 3` | ||||
* | Use NamedTemporaryFile instead of mkstemp | Jeroen Demeyer | 2018-02-09 | 1 | -6/+4 |
| | |||||
* | Trivial typo fixes | Unknown | 2017-10-17 | 1 | -1/+1 |
| | | | | | Most are non-user facing. Found using: `codespell -d -q 3` | ||||
* | Add missing import | Stefan Behnel | 2017-09-04 | 1 | -0/+1 |
| | |||||
* | Update gdb support in libpython.py from CPython 3.7 (git rev 5fe59f8). | Stefan Behnel | 2017-09-04 | 1 | -348/+502 |
| | |||||
* | Delete trailing spaces | mathbunnyru | 2017-01-12 | 1 | -2/+2 |
| | |||||
* | Replace "int(val) == 0" by "not val" for gdb.Value instances | Jeroen Demeyer | 2016-08-17 | 1 | -2/+2 |
| | |||||
* | adapt metaclass usage to Py2/Py3 | Stefan Behnel | 2015-07-26 | 1 | -2/+19 |
| | |||||
* | replace xrange() by range() to make it work in Py2/Py3 | Stefan Behnel | 2015-07-25 | 1 | -1/+1 |
| | |||||
* | make dict iteration compatible with Py2/Py3 | Stefan Behnel | 2015-07-25 | 1 | -8/+9 |
| | |||||
* | make code usages of Python "long" compatible with Py2/Py3 | Stefan Behnel | 2015-07-25 | 1 | -12/+12 |
| | |||||
* | make raw_input() usage compatible with Py2/Py3 | Stefan Behnel | 2015-07-25 | 1 | -1/+7 |
| | |||||
* | make libcython.py Py2/3 compatible to allows its immediate usage from both ↵ | Stefan Behnel | 2014-09-05 | 1 | -69/+111 |
| | | | | versions (and clean it up a little) | ||||
* | Debugger: Support output for the 'display' command | Mark Florisson | 2011-03-26 | 1 | -20/+36 |
| | |||||
* | Debugger: Better output when halting on watchpoints | Mark Florisson | 2011-03-26 | 1 | -4/+8 |
| | |||||
* | Debugger: Fix little exception detection bug | Mark Florisson | 2011-03-26 | 1 | -1/+1 |
| | |||||
* | Debugger: Update 'help' documentation | Mark Florisson | 2011-03-26 | 1 | -2/+16 |
| | |||||
* | Debugger: Added $cy_eval() GDB function | Mark Florisson | 2011-03-25 | 1 | -15/+8 |
| | |||||
* | Debugger: Fix a few libpython.py bugs | Mark Florisson | 2011-01-25 | 1 | -11/+48 |
| | |||||
* | Debugger: Python 3 compatibility testsuite | Mark Florisson | 2011-01-24 | 1 | -1/+1 |
| | |||||
* | Debugger: Have 'cy run' take arguments (instead of having to use 'set args') | Mark Florisson | 2011-01-18 | 1 | -2/+2 |
| | |||||
* | Undo EOL whitespace additions. | Robert Bradshaw | 2011-01-14 | 1 | -178/+178 |
| | |||||
* | Debugger: Fix closure support + tests | Mark Florisson | 2010-12-25 | 1 | -2/+0 |
| | | | | | Debugger: Recognition of module-level Cython code (initmodulename and PyInit_modulename) Fix debug flag (import Parsing when needed) | ||||
* | Remove tempfile | Mark Florisson | 2010-12-16 | 1 | -0/+1 |
| | |||||
* | Made libpython.py compatible with gdb 7.1 | Mark Florisson | 2010-12-15 | 1 | -15/+17 |
| | |||||
* | Fix breakpoint approach for stepping (make stepping repeatable with ↵ | Mark Florisson | 2010-12-15 | 1 | -74/+17 |
| | | | | breakpoints that are set and deleted instead of disabled) | ||||
* | Fix Python stepping watchpoints + cy step repeatability | Mark Florisson | 2010-12-15 | 1 | -33/+52 |
| | |||||
* | Disable watchpoint stepping by default (use cy step -w or cy step ↵ | Mark Florisson | 2010-12-15 | 1 | -3/+9 |
| | | | | --watchpoint to enable) as hardware watchpoints are limited. | ||||
* | Detect Python exceptions | Mark Florisson | 2010-12-14 | 1 | -13/+29 |
| | |||||
* | Generic exception support | Mark Florisson | 2010-12-14 | 1 | -0/+3 |
| | |||||
* | Refactor inferior execution control code, better gdb message handling and ↵ | Mark Florisson | 2010-12-14 | 1 | -132/+146 |
| | | | | re-fix runtests.py | ||||
* | Faster Python stepping using a watchpoint approach (f->f_lasti) | Mark Florisson | 2010-12-14 | 1 | -23/+82 |
| | |||||
* | Remove Python 3 metaclass support from Python 2 code (c'est ridicule!) | Mark Florisson | 2010-12-09 | 1 | -4/+0 |
| | |||||
* | Drop Python 2.5 support + unicode UCS4 builds support + add more tests | Mark Florisson | 2010-12-09 | 1 | -46/+79 |
| | |||||
* | Made tests less verbose by not using distutils.core.setup + skip debugger ↵ | Mark Florisson | 2010-12-05 | 1 | -3/+7 |
| | | | | tests when gdb < 7.2 or not available | ||||
* | "Fix" printing of gdb.Values with non-ascii characters or unicode ordinals | Mark Florisson | 2010-12-02 | 1 | -0/+4 |
| | |||||
* | Excluded cygdb from python 2.3 and 2.4 installations and made it 2.5 compatible | Mark Florisson | 2010-12-01 | 1 | -1/+3 |
| | | | | | Made the distutils extension 2.3 compatible Renamed the --debug flag to --gdb and --pyrex-debug to --pyrex-gdb | ||||
* | Changed bytes object ob_sval cast to unsigned char * to prevent a ↵ | Mark Florisson | 2010-11-30 | 1 | -2/+3 |
| | | | | RuntimeError with "Invalid cast" | ||||
* | cy exec test + correct building of locals dict in Cython frames for non-wide ↵ | Mark Florisson | 2010-11-28 | 1 | -3/+13 |
| | | | | python 3 unicode builds | ||||
* | set breakpoint pending on for libpython | mark | 2010-11-28 | 1 | -7/+11 |
| | |||||
* | Choose PyString/PyBytesObjectPtr according to python version + support ↵ | mark | 2010-11-27 | 1 | -26/+36 |
| | | | | signals terminating the inferior. | ||||
* | Merged with libpython.py from Python3.2 + prevented continuation with ↵ | Mark Florisson | 2010-11-25 | 1 | -29/+245 |
| | | | | negative pointer values gdb was giving to avoid segfaulting the inferior when using 'cy exec' | ||||
* | Make stepping breakpoints internal in newer versions of gdb | Mark Florisson | 2010-11-22 | 1 | -2/+17 |
| | |||||
* | Attempt to merge back Cython locals -- failed! gdb.Value is too broken | Mark Florisson | 2010-11-18 | 1 | -1/+1 |
| |