Debug mode not working on win10 for any code
See original GitHub issueIssue 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
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:16 (7 by maintainers)
Top Results From Across the Web
VS2013 not running in debug mode on Windows 10 Technical ...
Greeting, am getting the following errors every time i try to run my projects in debug mode what can be the issue.
Read more >New console output problem when in debug mode
I have a console application debugging in WIn10 vs2017 latest released version for both, new console windows. I run it and GetConsoleMode() reports...
Read more >Windows 10 does not show close/debug window any more
(1) Just run your VS as the admin, and then enable the Just-In-Time Debugging in Visual Studio, run your app again (Ctrl+F5). (2)...
Read more >visual studio code breakpoint not working - Caseificio de Nicola
Now run the app in debug mode. Environment Information Visual Studio CodeAlso no source code modifications are done. 3. ค. 2564 Neither are...
Read more >Debug tool window | PyCharm Documentation - JetBrains
By default, the Debug tool window opens when your program hits a breakpoint and is not hidden when the session is terminated.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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.