Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.
Breakpoints break (temporarily halt) execution of a program during runtime at certain point.
Breakpoints is a feature provided by the debugger in Microsoft Visual Studio that allows breaking execution of code at runtime when debugging applications.For Example
When you click on the side (in the margin) of a line of code in Visual Studio it sets a break point in your code as displayed in the image above. So when you start execution (debug) the code it will break execution at this point. BreakPoint Menu (Option for the Break)he precediing image shows the context-menu for breakpoints, in other words the breakpoint menu. The following describes all the options one by one.
As the name suggest it should be placed where you want to stop the execution of software/application under debugging. I am not if there is any rule of thumb exists for deciding where to put the breakpoint while debugging it merely depends on programmer/reviewer of the code.
C++ using Visual Studio, Java with Eclipse