if you are just compiling like C++ code, for me i was having the same issues , the debugger would not stop at the break point so the problem for me was because i set the speed of optimization for C/C++ to the maximum in the properties of the project , after disabling it , the debugger works as it is supposed to work.