i use vs code like 3+ months, but yesterday, my vs code(python) runs really slow when i press bind button or run button at top right, ill drop video below.
I tried:
adding "terminal.integrated.shellIntegration.enabled": false
adding(there are already was it) "terminal.integrated.defaultProfile.windows": "Command Prompt",
restarting vs code multiple time
reinstalling python extension
restarting pc
but that didnt helped
#๐ problem with vs code python
34 messages ยท Page 1 of 1 (latest)
@blazing temple
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
Closes after a period of inactivity, or when you send !close.
you're complaining that VSCode runs your code slow?
i think so, but when i use manually terminal, its ok
Its normal
delwte the pycache folder and let it remake it
um, like it started yesterday, so thats normal? before that everyhting worked fine
didnt helped
well then perhaps you made a change to your sceipt latley?
Yeah its normal. Probably VSCode added some updates to its debugger.
Its only a print statement tho
rn, im solving a ton of puzzles, so yeah i change it every hour
meh.. you could try making a virtual env.. could be a corrupt package or something else installed
probably thats why... few days ago saw that they made update
ill try
nah still that
fresh pc reboot?
fine, ill try one more time, will back in 2-3mins
just saying.. mine kind flips out doing 100k snmp requests everyday.. eventually I think it runs out of ports and I gotta restart it
still slow, i dont make a lot of requests
That does seem bizarrely slow. Have you tried running code in a terminal to see if your disk is just slow?
And what does Task Manager show in terms of resource usage?
its ssd, really fast, i mentioned upper that if i write it manually
Ah, missed that.
around 1-5% cpu and 100 - 500 MB memory
What run configuration do you have setup to run when you click the run button?
like bind button? sorry, i dont know where is configuration, i can show my settings.json file?
I'll be honest, I don't use VSCode, so I'm just spit balling potential debugging steps. If this were happening to me in Pycharm, I'd probably check my run configurations to make sure I didn't accidentally set them up weird. I'm not sure what VSCode's equivalent is though
there is everything okay, probably, ill downgrade my vs code, already doing that, thanks anyway
SOLUTION
downgrading to old version of vs code
!close
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.