Reputation: 1
I am trying to put break point to web api service which is written in visual studio 2017. However, I am unable to see the option to put break point.
I have used F9 and Alt+F9 to put breakpoint to my code.
Still its not working.
Kindly let me know how to enable break point in visual studio 2017
Upvotes: 0
Views: 467
Reputation:
You can create breakpoints in Visual Studio in several ways. One way is to have your cursor on the line you want to have a breakpoint, and then press F9. You will see a red circle on the left indicating a breakpoint.
However, you can also click to the left of the line number you want to add a breakpoint on, and that will also create a breakpoint.
Also, see this for reference: https://learn.microsoft.com/en-us/visualstudio/debugger/using-breakpoints?view=vs-2019
Upvotes: 0
Reputation:
click on the left side of the line number. A red dot should appear
Upvotes: 0
Reputation: 11
Try to talk your cursor to the extreme end of the code editor, very close to that place that as the line number. Then click it, you should see a red circle there. That is your breakpoint.
Upvotes: 1