Improve "Debugging Python programs in Emacs" section: realgud

This commit is contained in:
Gerard Vermeulen 2024-06-12 13:09:22 +02:00
parent 74788ee3e4
commit dc3797b61a

View File

@ -5584,12 +5584,13 @@ configures =code-cells=.
:CUSTOM_ID: sec:debug-python
:END:
Listing [[lst:pdb-example]] and [[lst:pdb-numpy]] show how to start using PDB.
Debugging works better with =tool-bar-mode= enabled.
Links of interest are:
- [[https://realpython.com/python-debugging-pdb/][Python Debugging with PDB]]
Listing [[lst:pdb-example]] and [[lst:pdb-numpy]] show how to start debugging by means
of =pdb= or =realgud:pdb=. [[https://github.com/realgud/realgud][RealGUD]] is the best option and in case of {{{kbd(M-x
pdb)}}} debugging may work better with =tool-bar-mode= enabled. Links of
interest are:
- [[https://github.com/realgud/realgud][RealGUD]] provides a nice interface to PDB by means of {{{kbd(M-x
realgud:pdb)}}}.
realgud:pdb)}}} that also works well with =tool-bar-mode= disabled.
- [[https://realpython.com/python-debugging-pdb/][Python Debugging with PDB]]
- [[https://docs.python.org/3/library/pdb.html][The Python Debugger]]
- [[yt:vfPtGsSJldg][Introduction to PDB (Python-2.7 YouTube video)]]
- [[https://stackoverflow.com/questions/7668979/how-do-you-watch-a-variable-in-pdb][How do you watch a variable in PDB? (Python-2.7)]]