question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ctrl+c in ipdb on windows

See original GitHub issue

Description

What steps will reproduce the problem?

I am used-to stop any thing with crtl+c but when i am in ipdb console it causes freezes so i should restart ipython console and it is really really annoying

maybe related to ipython bug: https://github.com/ipython/ipython/issues/2472

i am using: python 3.6.6 ipython 7.2.0

i tried changing ipython version

Versions

  • Spyder version: 3.3.2
  • Python version: 3.6.6
  • Qt version: 5.9.6
  • PyQt5 version: 5.9.2
  • Operating System: Windows 10

Dependencies

pyflakes >=0.6.0  :  1.5.0 (OK)
pycodestyle >=2.3 :  2.4.0 (OK)
pygments >=2.0    :  2.1.3 (OK)
sphinx >=0.6.6    :  1.5.1 (OK)
rope >=0.9.4      :  0.11.0 (OK)
jedi >=0.9.0      :  0.13.2 (OK)
nbconvert >=4.0   :  4.2.0 (OK)
pandas >=0.13.1   :  0.19.2 (OK)
numpy >=1.7       :  1.15.4 (OK)
sympy >=0.7.3     :  1.0 (OK)
cython >=0.21     :  0.25.2 (OK)
qtconsole >=4.2.0 :  4.2.1 (OK)
IPython >=4.0     :  7.2.0 (OK)
matplotlib >=2.0.0:  2.2.2 (OK)
pylint >=0.25     :  1.6.4 (OK)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ccordoba12commented, Dec 18, 2018

We’re in the process of rewriting our debugger, so this is going to be addressed in Spyder 4. Unfortunately, we don’t plan to address this in our 3.x.x releases, sorry.

0reactions
mmagnuskicommented, Aug 23, 2019

@ccordoba12 I am still experiencing this issue on Spyder 3.3.6 (but I am sure there was a period where it worked ok). Are there other dependencies I should update to fix the problem? Or might this be a regression?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ctrl-C in ipdb kills QtConsole on Windows #2472 - GitHub
One possible way to deal with this is to revert Ctrl-C to meaning 'copy' during the prompt for a raw_input() call.
Read more >
ipdb / set_trace() bug on Windows? - python - Stack Overflow
As soon as I hit the ipdb.set_trace() command the second time it will output these kind of characters and from that point on...
Read more >
Issue 7245: better Ctrl-C support in pdb (program can be ...
Currently, pressing Ctrl-C in pdb will terminate the program and throw the user into post-mortem debugging. Other debuggers (e.g gdb and ...
Read more >
Using ipdb with Docker Compose for interactive debugging
In my detail view, I added import ipdb; ipdb.set_trace() to break into the ... (http://werkzeug.pocoo.org/) Quit the server with CONTROL-C. > ...
Read more >
Chapter 1. IPython: Beyond Normal Python - O'Reilly
If the browser does not open automatically, you can open a window and manually ... Ctrl-c. Interrupt current Python command. Ctrl-d. Exit IPython...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found