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?
The Visual Studio debugger helps you observe the run-time behavior of your program and find problems.
Definition: Debugging is the process of detecting and removing of existing and potential errors (also called as 'bugs') in a software code that can cause it to behave unexpectedly or crash. To prevent incorrect operation of a software or system, debugging is used to find and resolve bugs or defects.
Isolate the source of the bug. Identify the cause of the bug. Determine a fix for the bug. Apply the fix and test it.
There are two mechanisms that can be used to implement breakpoints:
See http://en.wikipedia.org/wiki/Breakpoint for more information.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With