-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Step-by-step debugging with IPython console doesn't work in 3.1.4. #4421
Comments
Sorry for this error, it's going to be fixed in Spyder 3.2. You can revert to 3.1.3 in the meantime. |
After uninstalling 3.1.4 and installing 3.1.3 via "pip3 install spyder==3.1.3", Spyder 3.1.3 unfortunately doesn't want to start as it just says "Spyder crashed during last session". Is it possible to enable a verbose log in order understand what the problem could be? |
Just run in a terminal
to see the error message generated while Spyder is starting up. |
I have tried running "spyder3.exe --show-console" in a terminal, but there is no output to the terminal. |
|
Why is the python console being removed? I never use the IPython console because there always seems to be some issue like this one. |
please, |
This bug only happens if you're using print's in the middle of a debugging session. Sorry for that, we didn't consider that case. To revert to 3.1.3 (3.1.2 has other ugly bugs) you have to run
or
|
done. thank you |
Hello. Same problem here. I downgraded Spyder to 3.1.3 but now I am getting an error regarding the jedi 0.9.0 dependency. Same as this thread: [(https://github.com//issues/3040)]. Which version can I use to debug my code with no issues? |
Will it be possible to avoid removing the python console (even if it's broken) until there is a consistent place for debugging? or try to fix this before the release of 3.2? Thanks |
@j-chacon, the Python console was already removed, sorry. However, this and many other bugs about debugging are already fixed and will be part of Spyder 3.2 (to be released in two or three weeks). |
@ccordoba12 Hi, I also have this major problem of kernel restarting when doing step-by-step debugging. Do you know approximately when you will release Spyder 3.2 ? |
@ccordoba12 I have just downgraded Spyder to 3.1.3 and therefore jedi to 0.9.0. This downgrade has downgraded IPython to 6.0.0. When I run Spyder 3.1.3, I get two errors in the Internal console :
In the Issue #4382 you are saying it (the But Spyder 3.1.4 cannot do step-by-step debugging anymore, which Spyder release can I use ? |
Sorry for the confusion. You need to downgrade to IPython 5 for this to work.
Spyder 3.2 will fix this (to be released in a week or two). |
If I run Is that OK for Spyder 3.1.3 ? |
Yes, it is. |
@ccordoba12 Hi, This command show the actual dependencies of Spyder 3.1.3 :
But it does not say that jedi specific version 0.9.0 nor ipython=5 are needed. Can please you fix Spyder 3.1.3 conda dependencies so that no other people will bother you with them when downgrading spyder ? |
I can't do that, sorry. |
Do I have to ask conda for them to do it ? |
No. The package dependencies were fine when it was published. New IPython and Jedi versions were published between 3.1.3 and 3.1.4, so we created fixes for them in 3.1.4. |
I thought |
It does, this is just an unfortunate case. |
Description
After upgrading from Spyder 3.1.3 to 3.1.4, step-by-step debugging with IPython in Spyder doesn't work anymore as it fails on all programs after a few single-steps with the error "Restarting kernel because an error occurred while debugging". Single-step debugging the same code in an ipython terminal works fine, so it seems to only be a problem when debugging via Spyder.
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Single-step debugging should work.
Please provide any additional information below
Here is the trivial test program (test.py) used:
The IPython console output when single-step debugging the test program in Spyder is as follows:
Version and main components
Dependencies
The text was updated successfully, but these errors were encountered: