There doesn't seem to be any event in EnvDTE's DebuggerEvents that notifies the consumer when a breakpoint is deleted. I've also looked at Visual Studio SDK and registered an IDebugEventCallback2, but no callback seems to be triggered when I deleted a breakpoint.
How can I get notified the moment the user deletes a breakpoint?
Omer,
How frustrating. Can you try something like this?
#define BreakPoint12
#define BreakPoint13
//#define BreakPoint14
#define BreakPoint15
using system;
//...
//...
#if BreakPoint15
// Team: Do not delete this breakpoint. Comment out definition.
System.Diagnostics.Debugger.Break();
#endif
Then you can at least keep track of where they are at.
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