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 history browsing while debugging #5342

Merged
merged 3 commits into from
Sep 29, 2017
Merged

Conversation

impact27
Copy link
Contributor

@impact27 impact27 commented Sep 27, 2017

Fixes #5202


Edit:
Add reference to the issue

@dalthviz
Copy link
Member

Hi @impact27, thanks a lot for working in this one! 👍

@dalthviz
Copy link
Member

Also could you please move this changes to 3.x?, you could do it with the steps at our Contributing guide

Thanks! :)

@ccordoba12 ccordoba12 changed the base branch from master to 3.x September 27, 2017 15:06
@ccordoba12
Copy link
Member

@impact27, no need to move this against 3.x. I think you just forgot to change the PR's base when opening it, but I fixed that for you.

@ccordoba12 ccordoba12 changed the title fixes #5202 PR: Fix history browsing while debugging Sep 27, 2017
@ccordoba12 ccordoba12 added this to the v3.2.4 milestone Sep 27, 2017
@@ -813,3 +813,7 @@ def find_in_history(self, tocursor, start_idx, backward):
return entry[len(tocursor):], idx
else:
return None, start_idx

def reset_search_pos(self):
"""Reset the position from witch to search the history"""
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change witch to which

@ccordoba12
Copy link
Member

@dalthviz, please review that this works for you locally. This problem happened after introducing several commands while debugging (e.g. c, then n, then !zz=10) and pressing the Up arrow to get the previous entry in history.

@dalthviz
Copy link
Member

@ccordoba12 It works for me locally 👍

debug

Thanks again @impact27 for working on this one!

@ccordoba12
Copy link
Member

Great! Thanks @impact27 for your contribution!

@ccordoba12 ccordoba12 merged commit 538560e into spyder-ide:3.x Sep 29, 2017
ccordoba12 added a commit that referenced this pull request Sep 29, 2017
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.

3 participants