Binding Breakpoints in Visual Studio Debugging


Few months back I ran into a strange behavior regarding breakpoints.
Debugging a c# solution in Visual Studio 2008 I’ve noticed the breakpoints I have “click” removed during one debug session reappear as soon as session ends.
After repeated tries, the solution was to CTRL+SHIFT+F9 remove all breakpoints and set them again where needed.
When the situation occurred again debugging a different solution I start googling it and found that what I’ve considered back then a bug it is actually a “feature”.
The Visual Studio Debugging mechanism involves three types of breakpoints:

  • pending breakpoint
  • bound breakpoint
  • error breakpoint

The break point set in the code editor it is a pending breakpoint. When the code executes, the debug engine checks such breakpoints to see if they can be bound to related code contexts and generates bound breakpoints. In design mode the breakpoint window displays hierarchical the pending and bound breakpoints.
In my case, because of the WCF logic involved, execution of code was not yet done when I remove the breakpoint, so what I really removed by simply clicking the editor margin was the bound breakpoint. The pending breakpoint was still set when session ended and will regenerate all bound breakpoints in the next session.


Finally, there’s another very important peculiarity of what does Cialis that brings it so high above its alternatives. It is the only med that is available in two versions – one intended for use on as-needed basis and one intended for daily use. As you might know, Viagra and Levitra only come in the latter of these two forms and should be consumed shortly before expected sexual activity to ensure best effect. Daily Cialis, in its turn, contains low doses of Tadalafil, which allows to build its concentration up in your system gradually over time and maintain it on acceptable levels, which, consequently, makes it possible for you to enjoy sex at any moment without having to time it.

1 thought on “Binding Breakpoints in Visual Studio Debugging”
  • last few days our class held a similar talk about this subject and you illustrate something we have not covered yet, appreciate that.

    – Laura

    October 5, 2010 at 12:05 pm

Comments are closed.

By continuing to use the site, you agree to the use of cookies. More information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.