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

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -