Thursday, August 11, 2016

How conditional breakpoints work

Ever wondered how conditional breakpoints are implemented in debuggers?

Ok, one picture is worth thousands words
 
First line is devenv.exe, third line  - debugged process.
Here conditional breakpoint is inserted in tight loop, incurring a lot of context switches.
That's why conditional breakpoints are so slow.










No comments:

Post a Comment