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.

When I use a non-default python interpreter in spyder, the debug button in spyder does not respond.

See original GitHub issue

Issue Report Checklist

  • [ *] Searched the issues page for similar reports
  • [ *] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
  • [* ] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
  • Could not reproduce inside jupyter qtconsole (if console-related)
  • [* ] 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

I use a non-default python interpreter in spyder. image I can execute the python program normally. But when I try to debug the code, spyder’s debug buttons are not responding except the “Debug file” button (I have set breakpoints). image And the IPython console has always been like this: IPython console image

Can someone tell me what is the problem? Thank you!

What steps reproduce the problem?

What is the expected output? What do you see instead?

Paste Traceback/Error Below (if applicable)


PASTE TRACEBACK HERE

Versions

  • Spyder version:4.1.3
  • Python version: 3.7.7
  • Spyder kernels:1.9.1
  • Qt version:
  • PyQt version:
  • Operating System name/version: windows

Dependencies

PASTE DEPENDENCIES HERE

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
coder-wangzhencommented, Jul 17, 2020

@ccordoba12 yes, it works after I update spyder to 4.1.4 and update spyder-kernels in another virtual environment to 1.9.2. Thank you for your help ! @ccordoba12 @goanpeca @impact27

0reactions
ccordoba12commented, Jul 17, 2020

No problem. Glad to know this bug is already fixed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Debug mode not working · Issue #17314 · spyder-ide ... - GitHub
it seems like the IDE is hanging, all I can do is click the "Stop the current command" to exit the debug mode,...
Read more >
Spyder Debugger hangs (not debugging) - Stack Overflow
The first command, remove, uninstalls spyder in the virtualenv called 'myenv'. If you don't use virtualenvs, just leave the -n myenv aside. ·...
Read more >
Frequently Asked Questions — Spyder 5 documentation
Help! First, make sure the error you are seeing is not a bug in your code. To confirm this, try running it in...
Read more >
IDLE — Python 3.11.1 documentation
Python shell window (interactive interpreter) with colorizing of code input, output, and error messages. multi-window text editor with multiple undo, Python ...
Read more >
Environment variables - Numba
Numba will cache functions as long as there is a reference somewhere in the interpreter. This cache size variable controls how many functions...
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