use new breakpoint() for more Python versions

follow up to #11490
This commit is contained in:
Борис Верховский 2021-07-30 03:05:58 -07:00 committed by duianto
parent ac1087ea4e
commit e2aff2c915
1 changed files with 3 additions and 0 deletions

View File

@ -185,6 +185,9 @@ as the pyenv version then also return nil. This works around https://github.com/
((spacemacs/pyenv-executable-find "pudb3") "import pudb; pudb.set_trace()")
((spacemacs/pyenv-executable-find "python3.7") "breakpoint()")
((spacemacs/pyenv-executable-find "python3.8") "breakpoint()")
((spacemacs/pyenv-executable-find "python3.9") "breakpoint()")
((spacemacs/pyenv-executable-find "python3.10") "breakpoint()")
((spacemacs/pyenv-executable-find "python3.11") "breakpoint()")
(t "import pdb; pdb.set_trace()")))
(line (thing-at-point 'line)))
(if (and line (string-match trace line))