question

MuratAltuntas-5582 avatar image
0 Votes"
MuratAltuntas-5582 asked DylanZhu-MSFT answered

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

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

c++vs-debugging
screenshot-4.png (60.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Viorel-1 avatar image
0 Votes"
Viorel-1 answered

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

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DylanZhu-MSFT avatar image
0 Votes"
DylanZhu-MSFT answered

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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.