How to handle Visual studio debugging problem?

Hira SAleem 25 Reputation points
2023-09-28T06:12:28.4933333+00:00

i am working on project. in which i make desktop application in c#. i make login form in visual studio and do its complete codding. but in debugging time it takes too much time. diagnostic session it takes 70 minutes and still working. What i do?

Developer technologies Visual Studio Debugging
Developer technologies Visual Studio Other
Developer technologies C#
0 comments No comments
{count} votes

Accepted answer
  1. Sreeju Nair 12,666 Reputation points
    2023-09-28T06:24:31.1566667+00:00

    I recommend you to follow the below URL and apply the recommendations specified in the article to ensure you improve the visual studio performance.

    https://learn.microsoft.com/en-us/visualstudio/ide/visual-studio-performance-tips-and-tricks?view=vs-2022

    Hope this helps

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 34,436 Reputation points Microsoft External Staff
    2023-09-28T09:59:38.2233333+00:00

    Hello @Hira SAleem,

    Welcome to Microsoft Q&A forum.

    You can also refer to this blog: Make Debugging Faster with Visual Studio.

    The hidden .vs folder which is stored in your solution folder contains some debugging information. You can try to rename it, rebuild, debug your project again.

    Sometimes, the installed/used extensions make VS debug slowly, you can try to disable them temporarily for testing. If possible, updating VS may be also helpful.

    Best Regards,

    Tianyu


    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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.