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

Inability to get docstring in debugger #2406

Closed
amueller opened this issue Sep 14, 2012 · 5 comments
Closed

Inability to get docstring in debugger #2406

amueller opened this issue Sep 14, 2012 · 5 comments
Milestone

Comments

@amueller
Copy link

When in debugging mode, i.e. ipdb, it is not possible to get the docstrings via ?. That would be a very useful feature.

@bfroehle
Copy link
Contributor

The docstrings can be accessed by pdoc <name>. You can also do pinfo and pdef to get more information and the object definition.

@amueller
Copy link
Author

Thanks. Is there a particular reason not to support the "?" that is in ipython?

@bfroehle
Copy link
Contributor

Unfortunately it is unlikely to be a simple addition, as ipdb is essentially pdb with a few new or overridden commands. I'll reopen this as a wishlist item, but don't hold your breath.

@bfroehle bfroehle reopened this Sep 14, 2012
@amueller
Copy link
Author

Ok if it is to complicated, never mind ;)

@minrk minrk added this to the no action milestone Mar 26, 2014
@jclevesque
Copy link

Anyway to vote on this as a feature request? It would be nice if the interfaces behaved similarly. Ultimately, perhaps ipdb could become a full fledged IPython prompt which forwards the debugging commands to pdb/ipdb?

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

No branches or pull requests

4 participants