Spyder: Hitting debug twice makes it unable to continue

Created on 21 Dec 2020  路  7Comments  路  Source: spyder-ide/spyder

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

Debugger IPython Console Enhancement

All 7 comments

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.

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.

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?

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

So nested debugging should be possible

I was thinking the same.

This is definitely a bug to fix.

Could you help us with it?

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

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

Was this page helpful?
0 / 5 - 0 ratings