I can attach Visual Studio to an executable, and then my breakpoints get called.
What's going on under the hood? What mechanism allows my breakpoints to fire?
I can attach Visual Studio to an executable, and then my breakpoints get called.
What's going on under the hood? What mechanism allows my breakpoints to fire?
There are two mechanisms that can be used to implement breakpoints:
See http://en.wikipedia.org/wiki/Breakpoint for more information.