Answered by:
VS 2017 Breakpoint not working

Question
-
Visual studio 2017 - Breakpoint not workingFriday, February 2, 2018 8:42 PM
Answers
-
Sorry, I should of added more.
Visual Studio 2017 version 15.5.6.
I use F9 to toggle a breakpoint, but it doesn't stop there. I know I'm executing the code, because it sends a MSGBOX on the next line.
Make sure your compile options on debug in VS menu Build - Configuration Manager. When set on Release it wont stop on breakpoints.- Marked as answer by Gene Montgomery Friday, February 2, 2018 9:22 PM
Friday, February 2, 2018 9:13 PM
All replies
-
Not sure what you mean by "not working", but is your project configuration set to Debug?
Paul ~~~~ Microsoft MVP (Visual Basic)
- Proposed as answer by tommytwotrain Friday, February 2, 2018 10:07 PM
Friday, February 2, 2018 9:02 PM -
Sorry, I should of added more.
Visual Studio 2017 version 15.5.6.
I use F9 to toggle a breakpoint, but it doesn't stop there. I know I'm executing the code, because it sends a MSGBOX on the next line.
Friday, February 2, 2018 9:09 PM -
Sorry, I should of added more.
Visual Studio 2017 version 15.5.6.
I use F9 to toggle a breakpoint, but it doesn't stop there. I know I'm executing the code, because it sends a MSGBOX on the next line.
Make sure your compile options on debug in VS menu Build - Configuration Manager. When set on Release it wont stop on breakpoints.- Marked as answer by Gene Montgomery Friday, February 2, 2018 9:22 PM
Friday, February 2, 2018 9:13 PM -
Besides what Tommy suggested, make sure the build checkbox is checked for that project.
Also if there is a problem generally the red circle for the break-point with have a exclamation symbol, if so this means the break-point is going going to be hit which can be for several reasons. Do you have that symbol shown?
Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.
VB Forums - moderator
Friday, February 2, 2018 9:23 PM -
Sorry, I should of added more.
Visual Studio 2017 version 15.5.6.
I use F9 to toggle a breakpoint, but it doesn't stop there. I know I'm executing the code, because it sends a MSGBOX on the next line.
Well if setting your project configuration to Debug fixed the issue then I answered your question.Paul ~~~~ Microsoft MVP (Visual Basic)
Friday, February 2, 2018 9:44 PM