-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Unit Test discovery crashes when "undefined" and can no longer run #134
Comments
Please re-create the launch.json file and try again. |
From @mcesnik on June 29, 2017 18:47 @DonJayamanne, sorry, is that done using the "Add Configuration" button in VS code? If so, cool, did that and will see how it goes. |
From @mcesnik on June 30, 2017 17:45 This didn't seem to have any affect. I still get unit tests hanging when I save and try to run them too quickly. |
Please could you provide a sample project that I could use to replicate this issue (or a repo), please do provide the instructions and necessary settings.json and launch.json files. |
From @mcesnik on July 4, 2017 14:21 You can try this zip file: https://drive.google.com/open?id=0B49rqCI3E_Z2c2NnSXB1czdsTTQ It's my first py project so go easy on me :) The .vscode folder has both settings.json and launch.json. The steps to recreate don't always recreate the issue. I find if you edit a file hit save and run unit tests quickly enough the error happens (although I don't see any info anywhere after that). Once the error happens unit tests will "run" but never actually execute. I have to restart VS code. |
@mcesnik , apologies for the delay, will look into this soon. |
@mcesnik I believe this has been fixed. Please could you test this out on the latest version of the Python extension. |
Feel free to reopen if this issue is still a problem. |
From @mcesnik on June 27, 2017 17:10
Environment data
VS Code version: 1.13.1
Python Extension version: 0.6.5
Python Version: 2.7.11
OS and version: Windows 10 + Mac OSX 11
Actual behavior
When saving code, unit test discovery occasionally hangs on an error "undefined" and cannot recover without restarting VS code. This does not happen but happens frequently enough to warrant a bug report.
Expected behavior
Discovery should not fail or should recover when the error happens.
Steps to reproduce:
Settings
Your launch.json (if dealing with debugger issues):
{
"version": "0.2.0",
"configurations": [
}
Your settings.json:
{
"files.exclude": {
"/*.pyc": true,
"/pycache": true
},
}
Logs
Output from
Python
output panelOutput from
Console window
(Help->Developer Tools menu)Copied from original issue: DonJayamanne/pythonVSCode#1054
The text was updated successfully, but these errors were encountered: