<?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>.NET debugging made easier</title><link>http://blogs.msdn.com/pedram/archive/2008/07/20/net-debugging-made-easier.aspx</link><description>Not sure about you but I was not aware of the existence of the DebuggerStepThroughAttribute . Debugging code can be difficult at times and any tool or mechanism that can ease this pain is always welcome. As far as the CLR is concerned, there is no semantic</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Pregnant Man &amp;raquo; .NET debugging made easier</title><link>http://blogs.msdn.com/pedram/archive/2008/07/20/net-debugging-made-easier.aspx#8756838</link><pubDate>Sun, 20 Jul 2008 03:34:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8756838</guid><dc:creator>Pregnant Man &amp;raquo; .NET debugging made easier</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://wordnew.acne-reveiw.info/?p=11003"&gt;http://wordnew.acne-reveiw.info/?p=11003&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: .NET debugging made easier</title><link>http://blogs.msdn.com/pedram/archive/2008/07/20/net-debugging-made-easier.aspx#8794404</link><pubDate>Thu, 31 Jul 2008 22:17:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8794404</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;I am a big fan of this attribute. &amp;nbsp;If you want to stop at a breakpoint set in a method decorated with this attribute there is an option. &amp;nbsp;In visual studio 2008 (I believe it is in the same place in 2005) under Tools | Options | Debugger | General uncheck &amp;quot;Enable Just My Code (Managed Only)&amp;quot; and your breakpoint will still trip. &amp;nbsp;If you attempt to step into the same method without the breakpoint you will still glide over. &lt;/p&gt;</description></item><item><title>re: .NET debugging made easier</title><link>http://blogs.msdn.com/pedram/archive/2008/07/20/net-debugging-made-easier.aspx#8800555</link><pubDate>Fri, 01 Aug 2008 19:08:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8800555</guid><dc:creator>Mike Read</dc:creator><description>&lt;p&gt;Thanks very much, this will speed up debugging considerably&lt;/p&gt;</description></item><item><title>re: .NET debugging made easier</title><link>http://blogs.msdn.com/pedram/archive/2008/07/20/net-debugging-made-easier.aspx#8802944</link><pubDate>Sat, 02 Aug 2008 02:23:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8802944</guid><dc:creator>Lito</dc:creator><description>&lt;p&gt;I read about this moons ago. &amp;nbsp;Then when I got fed up with the debugger stepping over all the properties I I thought I should give it a try. &amp;nbsp;Alas, I could not remember it. &amp;nbsp;I asked about but did not really get the answer I was looking for. &amp;nbsp;Thanks for bringing it up.&lt;/p&gt;</description></item><item><title>re: .NET debugging made easier</title><link>http://blogs.msdn.com/pedram/archive/2008/07/20/net-debugging-made-easier.aspx#8804166</link><pubDate>Sat, 02 Aug 2008 07:03:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8804166</guid><dc:creator>ghill77</dc:creator><description>&lt;p&gt;I don't really like the fact that you have to flag each property that you want to skip. &amp;nbsp;There should be some other directive to just skip all property accessors.&lt;/p&gt;</description></item><item><title>re: .NET debugging made easier</title><link>http://blogs.msdn.com/pedram/archive/2008/07/20/net-debugging-made-easier.aspx#8804262</link><pubDate>Sat, 02 Aug 2008 07:28:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8804262</guid><dc:creator>Rory</dc:creator><description>&lt;p&gt;This might be new to 2008 or even sp1 (I dont remember seeing it in 2005) but the context menu for the code window now has two items during a debug session that can help with just this sort of thing. The first is a &amp;quot;Step Into Specific&amp;quot; submenu that shows each of the method calls made by the current line. The other is a checkable &amp;quot;Step over properties and operators&amp;quot; option that does just as the name suggests (VS prints a message in the output window if you step over a property with it enabled). I'd try using them before the attribute, simply because you don't have to modify the code just for debugging (or remember to remove it when you're done).&lt;/p&gt;
&lt;p&gt;Hope it helps&lt;/p&gt;</description></item><item><title>re: .NET debugging made easier</title><link>http://blogs.msdn.com/pedram/archive/2008/07/20/net-debugging-made-easier.aspx#8832410</link><pubDate>Tue, 05 Aug 2008 01:59:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8832410</guid><dc:creator>Schneider</dc:creator><description>&lt;p&gt;I have also removed these attributes to aid debugging. (The designers add these by default)&lt;/p&gt;
&lt;p&gt;Schneider&lt;/p&gt;</description></item><item><title>re: .NET debugging made easier</title><link>http://blogs.msdn.com/pedram/archive/2008/07/20/net-debugging-made-easier.aspx#8834591</link><pubDate>Tue, 05 Aug 2008 21:16:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8834591</guid><dc:creator>Rory</dc:creator><description>&lt;p&gt;I just remembered that the c# preprocessor directives &amp;quot;#line hidden&amp;quot; and &amp;quot;#line default&amp;quot; can be used to produce the same effect as this attribute, the debugger will treat any code between the two directives as if it doesn't exist. Again, I wouldn't do this without a really good reason, but it can be useful when creating a code generator that needs to hide some mess from the developer at debug time.&lt;/p&gt;</description></item><item><title>re: .NET debugging made easier</title><link>http://blogs.msdn.com/pedram/archive/2008/07/20/net-debugging-made-easier.aspx#8852878</link><pubDate>Tue, 12 Aug 2008 21:37:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8852878</guid><dc:creator>Aaron</dc:creator><description>&lt;p&gt;Should it not be called DebuggerStepOver though? It is technically not stepping through that code.&lt;/p&gt;</description></item><item><title>re: .NET debugging made easier</title><link>http://blogs.msdn.com/pedram/archive/2008/07/20/net-debugging-made-easier.aspx#8868093</link><pubDate>Fri, 15 Aug 2008 01:40:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8868093</guid><dc:creator>ihath</dc:creator><description>&lt;p&gt;thanks for sharing. That is so useful&lt;/p&gt;</description></item><item><title>re: .NET debugging made easier</title><link>http://blogs.msdn.com/pedram/archive/2008/07/20/net-debugging-made-easier.aspx#8886915</link><pubDate>Fri, 22 Aug 2008 08:49:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8886915</guid><dc:creator>Jamal Mavadat</dc:creator><description>&lt;p&gt;this attribute is basically ideal for custom debugger helper methods such as custom assertion methods, exception handling methods, etc. etc. etc. as well as source code generation for which you don't want get the hell confused out of consumer developer...&lt;/p&gt;
&lt;p&gt;anyway, by VS2008 you've also got the &amp;lt;b&amp;gt;Debugger\Step over properties and operators (Managed only)&amp;lt;/b&amp;gt; option which I personally most of the time make it disabled :D&lt;/p&gt;</description></item><item><title>re: .NET debugging made easier</title><link>http://blogs.msdn.com/pedram/archive/2008/07/20/net-debugging-made-easier.aspx#8914486</link><pubDate>Mon, 01 Sep 2008 01:28:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8914486</guid><dc:creator>Ashley Dickson</dc:creator><description>&lt;p&gt;NetBeans can step over and into within a line, very nice.&lt;/p&gt;</description></item><item><title>The Art of Debugging – A Developer’s Best Friend</title><link>http://blogs.msdn.com/pedram/archive/2008/07/20/net-debugging-made-easier.aspx#9403627</link><pubDate>Sat, 07 Feb 2009 07:50:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9403627</guid><dc:creator>Cloud Teacher Dot Com</dc:creator><description>&lt;p&gt;Art is the process or product of deliberately arranging elements in a way that appeals to the sense or&lt;/p&gt;
</description></item><item><title>The Art of Debugging – A Developer’s Best Friend</title><link>http://blogs.msdn.com/pedram/archive/2008/07/20/net-debugging-made-easier.aspx#9406603</link><pubDate>Sun, 08 Feb 2009 10:57:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9406603</guid><dc:creator>Cloud Teacher Dot Com</dc:creator><description>&lt;p&gt;Art is the process or product of deliberately arranging elements in a way that appeals to the sense or&lt;/p&gt;
</description></item><item><title>re: .NET debugging made easier</title><link>http://blogs.msdn.com/pedram/archive/2008/07/20/net-debugging-made-easier.aspx#9420007</link><pubDate>Sat, 14 Feb 2009 00:14:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9420007</guid><dc:creator>dan</dc:creator><description>&lt;p&gt;More like DebuggerStepOverAttribute than step through.&lt;/p&gt;</description></item><item><title>re: .NET debugging made easier</title><link>http://blogs.msdn.com/pedram/archive/2008/07/20/net-debugging-made-easier.aspx#9555885</link><pubDate>Sun, 19 Apr 2009 23:16:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9555885</guid><dc:creator>Computer Videos</dc:creator><description>&lt;p&gt;Hey this is really good stuff. Actually been waiting for such thing.&lt;/p&gt;
&lt;p&gt;Keep sharing these and help people in the community.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;:D&lt;/p&gt;</description></item></channel></rss>