<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Attaching a debugger at startup</title><link>http://blogs.msdn.com/greggm/archive/2008/09/12/attaching-a-debugger-at-startup.aspx</link><description>Sometimes you need to debug a process, and you need to attach the debugger right away, but you cannot launch the process under the debugger. For example, if the process you need to debug is a Windows Service, the Windows Service Manager must launch the</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>car insurance &amp;raquo; Attaching a debugger at startup</title><link>http://blogs.msdn.com/greggm/archive/2008/09/12/attaching-a-debugger-at-startup.aspx#8948039</link><pubDate>Fri, 12 Sep 2008 22:58:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8948039</guid><dc:creator>car insurance &amp;raquo; Attaching a debugger at startup</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://hoursfunnywallpaper.cn/?p=5949"&gt;http://hoursfunnywallpaper.cn/?p=5949&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Attaching a debugger at startup</title><link>http://blogs.msdn.com/greggm/archive/2008/09/12/attaching-a-debugger-at-startup.aspx#8954694</link><pubDate>Wed, 17 Sep 2008 04:52:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8954694</guid><dc:creator>David Douglass</dc:creator><description>&lt;p&gt;I recently had to deal with this situation on Windows 2000 and wondering if there is a solution to the following:&lt;/p&gt;
&lt;p&gt;My .NET services run using a domain account&lt;/p&gt;
&lt;p&gt;I need to attach a debugger at start up but the debugger can’t interact with the desktop&lt;/p&gt;
&lt;p&gt;I don’t want to use Local System because the problem may be security related&lt;/p&gt;
&lt;p&gt;If there isn’t a work around for this on 2000, what about the newer operating systems?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Dave&lt;/p&gt;</description></item><item><title>re: Attaching a debugger at startup</title><link>http://blogs.msdn.com/greggm/archive/2008/09/12/attaching-a-debugger-at-startup.aspx#8954853</link><pubDate>Wed, 17 Sep 2008 07:36:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8954853</guid><dc:creator>greggm</dc:creator><description>&lt;p&gt;Hi Dave,&lt;/p&gt;
&lt;p&gt;You would need to use approach #2 in this scenario. As I mentioned above, you would need to covert my sample code to C#, but that should be pretty easy to do.&lt;/p&gt;
&lt;p&gt;Gregg&lt;/p&gt;
</description></item></channel></rss>