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

PR: Fix several IPdb problems and add some improvements to it #4202

Merged
merged 65 commits into from
May 30, 2017

Conversation

ccordoba12
Copy link
Member

@ccordoba12 ccordoba12 commented Feb 25, 2017

Fixes #4421
Fixes #4403
Fixes #4214
Fixes #4013
Fixes #3945
Fixes #3771
Fixes #3711
Fixes #3555
Fixes #1977


This PR also greatly improves the experience of debugging in the IPython console with these new features:

  • Plotting now works with a %plot magic, but only using the inline backend
    (e.g. %plot plt.plot(range(10))).
  • History browsing with Up/Down arrows.
  • Make the Clear console and Reset keyboard shortcuts to work.
  • Show plots from the Variable Explorer.
  • Change the current working directory using the Working Directory toolbar.
  • Use Ctrl+Shift+C to copy text.
  • Avoid blocking/interrupting ipdb as much as possible.

TODO:

  • Add tests
    • Test changing cwd
    • Test that c and n update the Variable Explorer
    • Tests for unicode variables
    • Test for %varexp
    • Test that Stop exits debugging
    • Test that variable types can't be changed in the Variable Explorer
    • Test for browsing history
  • Prevent saving and loading data in the Variable Explorer while debugging.
  • Fix plotting variables while debugging from the Variable Explorer.
  • Show warning when trying to use Ctrl+C while debugging
  • Make plotting to work
  • Try to use publish_data for Pdb state
  • Avoid blocking Pdb when running commands for the Help plugin
  • Move automatically to first breakpoint again
  • Make Up and Down buttons to browse history while debugging
  • Create a mixin for browsing history while debugging (I think this is simpler and cleaner).

@ccordoba12 ccordoba12 added this to the v3.2 milestone Feb 25, 2017
…e file

- The idea is to read that state from the Spyder side to update the
Variable Explorer and the Editor while debugging, in a more robust way
than what we are doing now.
@ccordoba12 ccordoba12 force-pushed the debugger-improvements branch from 571cb64 to 42a5d00 Compare May 28, 2017 00:55
@ccordoba12 ccordoba12 changed the title PR: Several debugger improvements PR: Fix several debugger problems in the IPython console May 29, 2017
@andfoy andfoy requested review from blink1073 and removed request for blink1073 May 30, 2017 00:07
@ccordoba12 ccordoba12 changed the title PR: Fix several debugger problems in the IPython console PR: Fix several debugger problems and add some improvements to it May 30, 2017
@ccordoba12 ccordoba12 changed the title PR: Fix several debugger problems and add some improvements to it PR: Fix several IPdb problems and add some improvements to it May 30, 2017
@ccordoba12
Copy link
Member Author

This huge PR is (finally!!) over.

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

Successfully merging this pull request may close these issues.

1 participant