Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Black Belt
21 Views

Removing Break Points

Noticed some unexpected behaviour with breakpoints

During a debug run, I removed some break points.

At the end of the run, and/or when I reload the project the break points are back again.

Any reason why the break point changes are ignored?

 

0 Kudos
1 Reply
Highlighted
21 Views

I assume you mean the Microsoft Visual Studio debugger.

When I have goofy break point behavior, I start a debug session and open up the Debug Breakpoint window, then regardless of what shows or does not show for break points, click on the button with the big red X. Use that button - do not delete individually, nor not click X if it appears as if no break points are set. Then add back your break points. The X (IMHO) appears to remove the entire Breakpoints object as opposed to removing items from the Breakpoints (s stressed) object. Recreating the Breakpoints object seems to reinitialize something.

Jim Dempsey

0 Kudos