I am using iPython notebook, with the %%debug
command.
My code performs a loop, in which I set some break point.
Now I can't seem to stop the loop with 'CTRL+C' (works in the regular ipython).
For example, let's say I have some loop with an ipdb.set_trace()
inside. Now if I hit the 'C' key the loop continues to the ipdb.set_trace()
, with no option from the user the exit the loop with 'CTRL+D/C'.
How can I exit such a loop?
You can write exit()
to quit debug mode.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With