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

Special character "!" is not processed correctly when debugging in Python consoles #2146

Closed
spyder-bot opened this issue Feb 17, 2015 · 1 comment

Comments

@spyder-bot
Copy link
Collaborator

From lopezdep...@gmail.com on 2015-01-29T16:55:25Z

Spyder Version: 2.2.1
Python Version: 2.7.6
Qt Version: 4.8.5, PyQt4 (API v1) 4.11 on Windows

Python's Spyder IDE, v.2.3, offers debugging mode using the pdb library: https://pythonhosted.org/spyder/debugging.html Looking at that library's documentation, section 26.3 states:

"Commands that the debugger doesn’t recognize are assumed to be Python statements and are executed in the context of the program being debugged. Python statements can also be prefixed with an exclamation point (!)." https://docs.python.org/2/library/pdb.html#debugger-commands However, when using the special character ! in Spyder's pdb session, the following error appears:

(Pdb) !b

(Pdb) 'b' is not recognized as an internal or external command, operable program or batch file.

THE PROBLEM appears to be that in Spyder's pdb prefixing "!" does not work as intended. This appears to be a bug.

Thanks

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=2146

@spyder-bot
Copy link
Collaborator Author

From ccordoba12 on 2015-01-30T14:40:07Z

Thanks for reporting. I know where this error is coming from.

In the mean time you can use the IPython console to do debugging because it doesn't have this error.

Summary: Special character "!" is not processed correctly when debugging in Python consoles (was: pdb debugger: (!) special character)
Status: Accepted
Labels: Cat-Debugger MS-v2.3.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants