Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix the error in debugging when pdb.Pdb() has .run instead of ._runscript method #2025

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xingnix
Copy link

@xingnix xingnix commented Aug 1, 2023

PR Summary

When debugging with elpy, there is "no _runscript error" with new version of Python where Python's debug module pdb removed _runscript method from object created by pdb.Pdb().
The changed codes use pdb.Pdb().run when there is no _runscript to do debuging.

PR checklist

Please make sure that the following things have been addressed (and check the relevant checkboxes):

  • Commits respect our guidelines
  • Tests are passing properly (see here on how to run Elpy's tests)

@xingnix xingnix changed the title fix the error when pdb.Pdb() has .run instead of ._runscript method fix the error in debugging when pdb.Pdb() has .run instead of ._runscript method Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant