In python-mode, I invoke pdb on a python script by M-x pdb script.py. I then type c to run till a breakpoint, and hit the name of a big list. It keeps on printing the content of the list in the buffer for pdb, and how can I cancel the printing? C-c C-c doesn't work.



As lawlist commented, at this point the Python-process must be stopped. See also M-x list-processes. A brute-force method would kill the buffer.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.