spyder: Debug mode not working on win10 for any code
Issue Report Checklist
- [Y] Searched the issues page for similar reports
- [Y] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
- [Y] Reproduced the issue after updating with
conda update spyder(orpip, if not using Anaconda) - Could not reproduce inside
jupyter qtconsole(if console-related) - [Y] Tried basic troubleshooting (if a bug/error)
- Restarted Spyder
- Reset preferences with
spyder --reset - Reinstalled the latest version of Anaconda
- Tried the other applicable steps from the Troubleshooting Guide
- Completed the Problem Description, Steps to Reproduce and Version sections below
Problem Description
any code, such as
a = 1 # you can see the traceback follow, the spyder hanging at the first line of the code
b = 1
c = a + b
All operations (such as step F10, continue to next breakpoint F12) not responding when spyder in debug mode. it seems like the IDE is hanging, all I can do is click the “Stop the current command” to exit the debug mode.
What steps reproduce the problem?
- debug any code and try to step inside
What is the expected output? What do you see instead?
the spyder can stop at the pre-setted break points, and can step the code
Paste Traceback/Error Below (if applicable)
debugfile('E:/Public2/paper/universalLAIEstimation/test.py', wdir='E:/Public2/paper/universalLAIEstimation')
> e:\public2\paper\universallaiestimation\test.py(6)<module>()
4
5 @author: WIN
----> 6 """
7
8 a = 1
--KeyboardInterrupt--
KeyboardInterrupt: Interrupted by user
Versions
- Spyder version: 4.1.2
- Python version: 3.7.7
- Qt version:
- PyQt version:
- Operating System name/version: win10 1909
Dependencies
NO DEPENDENCIES
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 16 (7 by maintainers)
@M-Nassir I got the same problem
I have this same issue running on Mac OS Monterey with anaconda installation of Spyder 5.1.5. Debug mode just hangs and does nothing further. I cannot hit a breakpoint or step through.