Attach .Net debugger in code

I’m specifically choosing the title for search engine results because I can never find this information when I want it.  For some reason not many .Net devs seem to know about it, and I always forget the code because I don’t often need it.

   1:  System.Diagnostics.Debugger.Launch()

 

This is very useful for debugging services, installers, and other situations when you can’t just start with the debugger.

 
November 13, 2009 10:16 by josh
E-mail | Permalink
blog comments powered by Disqus

Comments



about josh

another programmer blogging about his misadventures in writing code.

Contact

contact us for website & software consulting

Decide

decide on pragmatic solutions

Develop

develop your product together

Succeed

achieve your goals with our services