Skip to content

Set InterruptiblePdb as the default debugger. - #13218

Merged
Carreau merged 1 commit into
ipython:masterfrom
Carreau:int-pdb-default
Oct 27, 2021
Merged

Carreau merged 1 commit into
ipython:masterfrom
Carreau:int-pdb-default

Conversation

@Carreau

@Carreau Carreau commented Oct 25, 2021

Copy link
Copy Markdown
Member

This make sure that user can stop pdb with SigInt,
for example if you refresh your notebook while being in a debug session.

This make sure that user can stop pdb with SigInt,
for example if you refresh your notebook while being in a debug session.
@Carreau Carreau added this to the 7.29 milestone Oct 25, 2021
@Carreau

Carreau commented Oct 25, 2021

Copy link
Copy Markdown
Member Author

This seem to work for:

  • import ipdb; ipdb.set_trace().
  • post mortem %debug
  • %%debug magic with uncaught exception,

So it should cover all cases.

@Carreau

Carreau commented Oct 25, 2021

Copy link
Copy Markdown
Member Author

see #12168, @itamarst FYI.

@Carreau
Carreau merged commit 1eeb3a4 into ipython:master Oct 27, 2021
meeseeksmachine pushed a commit to meeseeksmachine/ipython that referenced this pull request Oct 27, 2021
Carreau added a commit that referenced this pull request Oct 28, 2021
…218-on-7.x

Backport PR #13218 on branch 7.x (Set InterruptiblePdb as the default debugger.)
@Carreau
Carreau deleted the int-pdb-default branch December 9, 2021 00:50
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