You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"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 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
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
The text was updated successfully, but these errors were encountered: