Visual Studio c++ debugging doesn't start.Turns on and off per second.

Murat Altuntas 1 Reputation point
2020-12-06T02:13:09.857+00:00

45425-screenshot-4.png

you can see int picture.

I try something but doesn't work.
1)I deleted my antivirus program.
2)Upgrade my windows and visual studio.
3)Try tools>options>debugging>symbols tick

but this doesn't work.
I need a help in a close time.

Note::I uploaded c++ new.I don't have a problem with programs like c# or c

Developer technologies | Visual Studio | Debugging
Developer technologies | C++
{count} votes

2 answers

Sort by: Most helpful
  1. Viorel 122.6K Reputation points
    2020-12-06T07:14:18.493+00:00

    Check if it works without debugging, using <Ctrl+F5>.

    Use <F10> to debug it step-by-step.

    0 comments No comments

  2. Dylan Zhu-MSFT 6,426 Reputation points
    2020-12-07T03:34:53.35+00:00

    Hi MuratAltuntas,

    Please try to follow these steps to troubleshoot it:

    1. Click Debug in menu bar-> Options
    2. In the General, enable "Enable source server support"
    3. In the security alert, click "Yes"
    4. In the Symbol, enable "Microsoft symbol server", and set "Cache symbols in this directory"
    5. Rebuild you project

    Hope it could work for you.

    Best Regards,
    Dylan


    If the answer is helpful, please click "Accept Answer" and upvote it.
    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.