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.

Debug mode not working on win10 for any code

See original GitHub issue

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 (or pip, 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?

  1. 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:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:16 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
Ningyezicommented, Feb 19, 2022

@M-Nassir I got the same problem

1reaction
M-Nassircommented, Feb 15, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

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