Hi @Mazovsky, Sergiy,
Welcome to Microsoft Q&A!
Which version of Visual Studio are you using? Is it a Python Application and running in Debug mode?
Please create a new project and check if it only occurs in the specific project or not.
Are you using the Python 3.11 (64-bit)? Please try to reinstall the Python 3.11 environment.
You can also try to add other python environments and test that the project runs normally.
If it only occurs in this project, please close all running VS instances and delete the hidden .vs folder from the project folder. Then, open the project and run it again.
Sincerely,
Anna
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.