Add more Python debugging links

This commit is contained in:
Gerard Vermeulen 2024-06-07 11:37:01 +02:00
parent 39abc62e69
commit 8a7f21c0d0

View File

@ -6142,8 +6142,12 @@ Links of interest are:
- [[https://stackoverflow.com/questions/51349074/in-python-3-7-does-the-opcode-event-from-sys-settrace-give-any-information-ab][How to use the opcode event (Python-3.7, GAV: why does it fail)?]]
- [[https://pypi.org/project/pdbpp/][PDB++]] looks incompatible with Python>3.10: see [[https://github.com/pdbpp/pdbpp/issues/516][Python-3.11 breaks PDBPP]].
- [[https://python-scientific-lecture-notes.developpez.com/tutoriel/notes-cours/python-debugging-code/#L3-1][Debugging Python with IPDB under IPython or with PDB in a terminal]].
- [[https://docs.spyder-ide.org/current/panes/debugging.html][Spyder Python debugging using IPDB]].
- [[https://docs.python.org/3/howto/gdb_helpers.html][Debugging C API extensions and CPython Internals with GDB]]. Making this work
with =pyenv= is an unresolved issue: see [[https://github.com/pyenv/pyenv/issues/1190][Install python-gdb.py]].
Python info links of interest are:
- [[info:python#Debugging C API extensions and CPython Internals with GDB][Debugging C API extensions and CPython Internals with GDB (info)]].
- [[info:python#Debugging and Profiling][Debugging and Profiling (info)]]
#+caption[PDB example: =python -m pdb .emacs.d/buggy.py=]:
#+caption: PDB example: =python -m pdb .emacs.d/buggy.py=.