Reputation: 5189
I want to reset a variable when the stop debugging button is pressed so I'm just wondering, how would I go about detecting when it's pressed Thanks
Upvotes: 0
Views: 531
Reputation: 11929
If you are writing an extension for VS, you can use IVsDebuggerEvents.OnModeChange which will tell you when the debugger has started/stopped/edit & continue.
Upvotes: 1