Debugger behaviour - do you like the new 'smart command mode' feature?

Thomas Kluyver <[email protected]> Mon, 7 Nov 2016 13:39:52 -0800
Newsgroups gmane.comp.python.ipython.devel
Message-ID <CAOvn4qjoN+wWwKbTkN4PBCESAg4ePdjz8VV7Xpu5O1L86CMQHw@mail.gmail.com>
The behaviour of the Python debugger changed a bit for 5.0. Previously, the
debugger commands (such as 'c' for continue) would shadow Python variables
with those names; so to show the variable c, you would have to type
print(c).

The new 'smart command mode', from pdb++, prefers the variable names. So if
a variable 'c' is defined, then entering 'c' in the debugger will show that
value rather than continuing. Any command can be used explicitly with a
prefix, e.g. '!!c'.

Some people have found this new behaviour awkward, and we're considering
reverting it. Whether you like the new feature or not, please go and vote
on this issue using the emoji on Github (thumbs up to go back to the old,
thumbs down to keep 'smart command mode'):

https://github.com/ipython/ipython/issues/10037

Thanks,
Thomas

_______________________________________________
IPython-dev mailing list
[email protected]
https://mail.scipy.org/mailman/listinfo/ipython-dev