summaryrefslogtreecommitdiff
path: root/Cython/Debugger
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused imports (GH-4643)Matus Valo2022-02-151-4/+1
|
* Merge pull request #4186 from amol-/cygdb-optional-interpreterRobert Bradshaw2021-07-191-22/+38
|\ | | | | Add --skip-interpreter option to cygdb
| * Add --skip-interpreter optionAlessandro Molina2021-05-211-22/+38
| |
* | Fix call to run_distutils() in debugger test (GH-4256)Matti Picus2021-06-301-2/+3
| |
* | Add missing argument when instantiating a test class. The argument was added ↵Stefan Behnel2021-06-281-0/+1
|/ | | | in https://github.com/cython/cython/commit/3bd321f17474aafde1bd497163b3e7ba089ee2cc
* Modernise code: use set literals/comprehensions where possible, frozenset ↵Stefan Behnel2021-04-131-1/+1
| | | | where appropriate.
* Fix cygdb (GH-3542)Volker-Weissmann2020-08-244-88/+223
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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)scoder2020-06-103-10/+10
| | | … and enforce them with pycodestyle.
* Better diagnostics for non-working cygdb installations. (GH-3489)Volker-Weissmann2020-04-091-13/+19
| | | If your installation is faulty, cygdb will now print the filepath of the code that caused an exception, and the path of the python interpreter will be printed for better debugging.
* Fixed gdb C call to free() that broke "cy exec". (GH-3487)Volker-Weissmann2020-04-031-1/+1
|
* Mark regex as raw string to avoid syntax warnings (#3000)DWesl2019-06-131-1/+1
| | | The regex to match the gdb version is not intended to be interpreted as a regular string, it is designed to be used as-is as a regex. This lets python know that minor detail.
* Revert dictionary item iteration in "libcython.py" to use ".iteritems()" ↵Stefan Behnel2019-03-311-10/+12
| | | | instead of ".items()" since the first is implemented explicitly by "libpython.py".
* Update libpython from latest CPython upstream (1ceb3a3d17).Stefan Behnel2019-03-311-33/+67
|
* Update URLs to https:// in docs and commentsJon Dufresne2019-01-111-3/+3
|
* Remove support for Py2.6 and various quirks that special-cased it.gh2692_remove_py26_supportStefan Behnel2018-10-302-5/+5
| | | | Closes #2692.
* Reduce the processing overhead in the debug line mapping writer a little.Stefan Behnel2018-08-281-0/+4
|
* Misc. typosluz.paz2018-07-131-1/+1
| | | Found via `codespell -q 3`
* Misc. typosluz.paz2018-03-171-1/+1
| | | Found via `codespell`
* Misc typosluz.paz2018-03-121-1/+1
| | | Found via `codespell`
* Use NamedTemporaryFile instead of mkstempJeroen Demeyer2018-02-091-6/+4
|
* Trivial typo fixesUnknown2017-10-171-1/+1
| | | | | Most are non-user facing. Found using: `codespell -d -q 3`
* Add missing importStefan Behnel2017-09-041-0/+1
|
* Update gdb support in libpython.py from CPython 3.7 (git rev 5fe59f8).Stefan Behnel2017-09-041-348/+502
|
* Make string handling and escaping in gdb tests safe.Stefan Behnel2017-09-041-8/+8
|
* Fix error reporting issue in gdb test.Stefan Behnel2017-09-041-2/+2
|
* Fix string type issue in gdb test.Stefan Behnel2017-09-041-1/+1
|
* Remove unused import that may not be available in all CPython or PyPy ↵Stefan Behnel2017-08-181-1/+1
| | | | installations.
* Merge branch 'embray-cygwin-tests'Stefan Behnel2017-02-123-1/+4
|\
| * Merge branch 'cygwin-tests' of https://github.com/embray/cython into ↵Stefan Behnel2017-02-123-1/+4
| |\ | | | | | | | | | embray-cygwin-tests
| | * Use a headerfile for cfuncs.c, otherwise this test code will fail to build ↵Erik M. Bray2016-04-263-1/+4
| | | | | | | | | | | | | | | | | | on Windows See https://mail.python.org/pipermail/cython-devel/2016-April/004777.html
* | | Merge pull request #1580 from jiajunhuang/py2k3kscoder2017-02-122-15/+27
|\ \ \ | |/ / |/| | Fix Python 2 and 3 have diffrent default encoding
| * | use with open(...) instead of manually close fileJiajun Huang2017-02-101-16/+15
| | |
| * | fix wrong commentsJiajun Huang2017-01-181-2/+2
| | |
| * | same in the `cy break` commandJiajun Huang2017-01-171-1/+3
| | |
| * | Fix Python 2 and 3 have diffrent default encodingJiajun Huang2017-01-172-2/+13
| | |
* | | Delete trailing spacesmathbunnyru2017-01-122-7/+7
|/ /
* | Fix another test.Robert Bradshaw2016-09-081-5/+1
| |
* | Replace "int(val) == 0" by "not val" for gdb.Value instancesJeroen Demeyer2016-08-171-2/+2
|/
* remove dead codeStefan Behnel2016-03-281-13/+3
|
* fix Py3 incompatibility in cygdb libraryStefan Behnel2015-09-211-2/+6
|
* Allow passing more than two -v's to cygdb.Antony Lee2015-09-051-1/+1
|
* adapt metaclass usage to Py2/Py3Stefan Behnel2015-07-262-7/+26
|
* replace xrange() by range() to make it work in Py2/Py3Stefan Behnel2015-07-251-1/+1
|
* make dict iteration compatible with Py2/Py3Stefan Behnel2015-07-253-21/+20
|
* make code usages of Python "long" compatible with Py2/Py3Stefan Behnel2015-07-252-13/+13
|
* Merge branch '2to3' of https://github.com/encukou/cython into 2to3Stefan Behnel2015-07-253-4/+4
|\
| * 2to3: Run the 'import' fixerPetr Viktorin2015-07-251-2/+2
| |
| * 2to3: Apply the 'except' fixerPetr Viktorin2015-07-252-2/+2
| |
* | adapt usages of map() to Py2/Py3Stefan Behnel2015-07-251-1/+1
| |
* | make raw_input() usage compatible with Py2/Py3Stefan Behnel2015-07-252-2/+13
|/