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

Hitting debug twice makes it unable to continue #14472

Closed
nassimbnm opened this issue Dec 21, 2020 · 8 comments · Fixed by spyder-ide/spyder-kernels#271
Closed

Hitting debug twice makes it unable to continue #14472

nassimbnm opened this issue Dec 21, 2020 · 8 comments · Fixed by spyder-ide/spyder-kernels#271

Comments

@nassimbnm
Copy link

When hitting debug one more time during a debugging session the prompt changes from IPdb [2] to ipdb>
Then I'm unable to continue debugging and have to enter any pdb command to exit.

Can reproduce every time.
Just add a break point and hit debug twice.

Issue since 4.2.0 and 4.2.1
Works ok in 4.1.5

@steff456
Copy link
Member

Hi @nassimbnm,

I'm able to reproduce this error, my question is why are you hitting the debug button once in the debug session? In this way we can see how to address this behavior in Spyder.

@nassimbnm
Copy link
Author

nassimbnm commented Dec 21, 2020

For no special reason, sometimes by accident when already debugging for a long time I forget and hit the button again and loose my session.
Also the icon may suggest the debugging can be paused and resumed, perhaps the button sould be greyed / deactivated.
Also I was curious to see if nested debug sessions were possible.

@ccordoba12
Copy link
Member

Also the icon may suggest the debugging can be paused and resumed, perhaps the button sould be greyed / deactivated.

Good point @nassimbnm! Thanks for bringing it out.

@impact27, what do you think about this one?

@impact27
Copy link
Contributor

So nested debugging should be possible. This is definitely a bug to fix.

@ccordoba12
Copy link
Member

So nested debugging should be possible

I was thinking the same.

This is definitely a bug to fix.

Could you help us with it?

@nassimbnm
Copy link
Author

Thank you guys @steff456 @ccordoba12 @impact27
You and all people behind Spyder are doing an amazing job.

@ccordoba12 ccordoba12 added this to the v4.2.2 milestone Dec 22, 2020
@ccordoba12
Copy link
Member

Thanks @nassimbnm for your kind words! We really appreciate them.

@ccordoba12 ccordoba12 assigned ccordoba12 and unassigned steff456 Jan 6, 2021
@nc011
Copy link

nc011 commented Jan 26, 2021

Also the icon may suggest the debugging can be paused and resumed, perhaps the button sould be greyed / deactivated.

Yes, I really dislike that this button appears to be a "pause" button. Coming from IDL, in which you can just pause a program, it totally threw me that this wasn't actually a pause program button.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants