<?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>You can use Visual Studio to debug itself!</title><link>http://blogs.msdn.com/calvin_hsia/archive/2009/06/08/9711306.aspx</link><description>How do you find out why your computer or a running program is so slow? Here’s one way. Let’s attach the VS debugger to VS itself. The main executable for VS is devenv.exe. Start Visual Studio 2008. This will be the “debugger” Choose File-&amp;gt;Open Project</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Great for code that breaks VS dev enviroment</title><link>http://blogs.msdn.com/calvin_hsia/archive/2009/06/08/9711306.aspx#9716193</link><pubDate>Tue, 09 Jun 2009 17:51:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9716193</guid><dc:creator>Greg</dc:creator><description>&lt;p&gt;I used this to find out why the VS designer could not load/edit an ASP VB.NET page. &amp;nbsp;It would give an exception when loading the page in the designer.&lt;/p&gt;
&lt;p&gt;I used VS to debug itself and set it to break on all exceptions.&lt;/p&gt;
&lt;p&gt;The problem was a constant in the ASP VB.NET page called a .net function to read a value from the config file. &amp;nbsp;This code was executed before the rest of the page was processed. &amp;nbsp;When running in the VS designer, there is no web config file to read and therefore an exception was thrown.&lt;/p&gt;
&lt;p&gt;We found this when cleaning up a 200,000+ line ASP VB.net application built by our offshore team. &amp;nbsp;It was found when we tried to load each and every GUI element in the application in the designer and found that a few of them had issues due to faulty hand tweaking of the VS generated GUI code.&lt;/p&gt;
</description></item><item><title>visual studio 2005  &amp;raquo; Blog Archive   &amp;raquo; .NET Web Developer - TechSales, LLC - Phoenix, AZ</title><link>http://blogs.msdn.com/calvin_hsia/archive/2009/06/08/9711306.aspx#9718208</link><pubDate>Tue, 09 Jun 2009 22:57:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9718208</guid><dc:creator>visual studio 2005  &amp;raquo; Blog Archive   &amp;raquo; .NET Web Developer - TechSales, LLC - Phoenix, AZ</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://visualstudio2005.blog-giant.com/2009/05/25/net-web-developer-techsales-llc-phoenix-az/"&gt;http://visualstudio2005.blog-giant.com/2009/05/25/net-web-developer-techsales-llc-phoenix-az/&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>