Are there any events that Visual Studio raises while debugging that I could subscribe to in the code? Specifically, I’d like to know when a debugger is detached or stops. Thanks
Are there any events that Visual Studio raises while debugging that I could subscribe
Share
In a separate thread you could check the
Debugger.IsAttachedmethod and generate events accordingly.EDIT: I just whipped this up, see if it works.