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

allow restart in %run -d #4514

Merged
merged 1 commit into from Nov 13, 2013
Merged

allow restart in %run -d #4514

merged 1 commit into from Nov 13, 2013

Conversation

minrk
Copy link
Member

@minrk minrk commented Nov 8, 2013

closes #3043

@Carreau
Copy link
Member

Carreau commented Nov 10, 2013

LGTM.

try:
deb.run(code, code_ns)
except Restart:
print("Restarting")
Copy link
Member

Choose a reason for hiding this comment

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

Is it actually necessary to keep this print?

Copy link
Member Author

Choose a reason for hiding this comment

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

It's to match pdb behavior, which has a restart message

Copy link
Member

Choose a reason for hiding this comment

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

OK, thanks!

@damianavila
Copy link
Member

+1 for me too...

Carreau added a commit that referenced this pull request Nov 13, 2013
allow restart in `%run -d`
@Carreau Carreau merged commit 09f6ce5 into ipython:master Nov 13, 2013
@minrk minrk deleted the pdbrestart branch March 31, 2014 23:36
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
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.

can't restart pdb session in ipython
3 participants