jupyter / qtconsole

Jupyter Qt Console
https://qtconsole.readthedocs.io/en/stable/
BSD 3-Clause "New" or "Revised" License
418 stars 201 forks source link

No history inside Jupyter QtConsole ipdb shell #143

Closed lxkain closed 7 years ago

lxkain commented 8 years ago

I see that there is an open issue about tab completion in ipdb, but it doesn't mention the lack of history within ipdb. The interesting thing is that this is only a problem in the qtconsole, when using jupyter-console (terminal-based), history is available.

This (and to some degree the lack of TAB-based completion) happens to be the largest inconvenience that I face when debugging using ipdb (often from within spyder), as compared to, say, WingIDE, which has a debug probe that works pretty well, but doesn't have all the goods that IPython has.

takluyver commented 8 years ago

I think it's accidental that debugging in jupyter_console happens to get history. That history will be shared with any input() prompt that comes up while running your code.

We've talked before about extending the messaging protocol with knowledge of debugging so that frontends can implement different, better debugger interfaces. But it hasn't happened.

lxkain commented 8 years ago

Thank you so much for explaining the situation.

wmvanvliet commented 7 years ago

Closing this, as this is a well known issue that first needs work at the ipython kernel side.

brandonwillard commented 7 years ago

Is there an open PR and/or different issue that's currently tracking the status of this functionality?