From dc3797b61a792310a09dcac847e2bb98e75869a6 Mon Sep 17 00:00:00 2001 From: Gerard Vermeulen Date: Wed, 12 Jun 2024 13:09:22 +0200 Subject: [PATCH] Improve "Debugging Python programs in Emacs" section: realgud --- README.org | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.org b/README.org index 61bda6b..073fc46 100644 --- a/README.org +++ b/README.org @@ -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)]]