visual studio - is there a way to check if the debugger is currently attached? -
i'm developing visual studio plugin, , need check if debugger attached (i.e., application running) prevent user performing actions. looked online unable find useful.
is there way accomplish this?
thanks!
edit: seems question not clear enough. i'm trying achieve is: plugin running inside visual studio. need check if instance of visual studio attached debugging application, plugin can act accordingly.
found it: use dte2.debugger property, , currentmode property. way can tell if debugging or not.
Comments
Post a Comment