bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21521: 24.5; pdb default suggested command


From: Stefan Kangas
Subject: bug#21521: 24.5; pdb default suggested command
Date: Thu, 8 Aug 2019 04:40:32 +0200

Noam Postavsky <npostavs@gmail.com> writes:
>
> Stefan Kangas <stefan@marxist.se> writes:
>
> > +(defcustom gud-pdb-command-name
> > +  (if (executable-find "pdb") "pdb" "python -m pdb")
> >    "File name for executing the Python debugger.
> >  This should be an executable on your path, or an absolute file name."
> >    :type 'string
>
> "python -m pdb" doesn't seem to be "an executable on your path, or an
> absolute file name", so I think the docstring needs updating too
> (assuming this setting does actually work).

You are correct.  The attached patch fixes this and adds a version tag.

Thanks,
Stefan Kangas

Attachment: 0001-Use-python-m-pdb-when-pdb-is-missing-in-M-x-pdb.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]