Everytime I press 'q', I get redirected to another ipdb session. I could just close the terminal window, but is there a better to kill the loop?
Asked
Active
Viewed 529 times
0
-
1Type `exit()` or ctrl+d? – cs95 Jul 07 '17 at 02:06
-
1You can try `[CTRL]+Z`, use the `ps` command to find the PID and the `kill` command to wipe it. – Paulo Scardine Jul 07 '17 at 02:07
-
Nope and nope. Both commands enter another loop. – Sebastian Jul 07 '17 at 02:10
1 Answers
4
The main way I use to exit the loop is Ctrl + Z.
Otherwise, it is also possible to execute:
ipdb> import os; os._exit(1)
Here's a source to corroborate: How to quit ipdb while in post-mortem debugging?

cs95
- 379,657
- 97
- 704
- 746

cosinepenguin
- 1,545
- 1
- 12
- 21
-
-
@Sebastian Consider accepting this answer if it helped you. It helps the community. :) – cs95 Jul 07 '17 at 02:21
-
@COLDSPEED I'd love to. Is there a StackOverflow on how to accept the answer? – Sebastian Jul 07 '17 at 02:25