<?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>Min Kwan Park's bLog : Tricks and Tips...</title><link>http://blogs.msdn.com/mkpark/archive/tags/Tricks+and+Tips_2E002E002E00_/default.aspx</link><description>Tags: Tricks and Tips...</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Catch your elusive bugs..</title><link>http://blogs.msdn.com/mkpark/archive/2007/03/12/catch-your-ellusive-bugs.aspx</link><pubDate>Tue, 13 Mar 2007 05:03:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1869162</guid><dc:creator>mkpark</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/mkpark/comments/1869162.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mkpark/commentrss.aspx?PostID=1869162</wfw:commentRss><description>&lt;P&gt;Few weeks ago, I did presentationt to my QA team about how they can found elusive bugs faster and easier. I think that this information can be useful information to any one who tests a Windows application. &lt;/P&gt;
&lt;P&gt;Please feel free to share your opinion on this PPT. &lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1869162" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/mkpark/attachment/1869162.ashx" length="91959" type="application/vnd.openxmlformats-officedocument.pres" /><category domain="http://blogs.msdn.com/mkpark/archive/tags/Let_2700_s+talk+about+Testing_2E002E00_/default.aspx">Let's talk about Testing..</category><category domain="http://blogs.msdn.com/mkpark/archive/tags/Tricks+and+Tips_2E002E002E00_/default.aspx">Tricks and Tips...</category></item><item><title>Looking for VS Beta1 debugger issues? </title><link>http://blogs.msdn.com/mkpark/archive/2004/07/28/200295.aspx</link><pubDate>Thu, 29 Jul 2004 03:40:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:200295</guid><dc:creator>mkpark</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/mkpark/comments/200295.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mkpark/commentrss.aspx?PostID=200295</wfw:commentRss><description>Probably, many of my co-workers are adding these kind of information into their blogs. but I decided to make my own list again. so if you want to see, check &amp;#8220;&lt;A href="http://weblogs.asp.net/mkpark/articles/200151.aspx"&gt;Known debugger issues in VS8 Beta1&lt;/A&gt;&amp;#8221; article. &lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=200295" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/mkpark/archive/tags/About+VS+Debugger/default.aspx">About VS Debugger</category><category domain="http://blogs.msdn.com/mkpark/archive/tags/Tricks+and+Tips_2E002E002E00_/default.aspx">Tricks and Tips...</category></item><item><title>While you do test your program...</title><link>http://blogs.msdn.com/mkpark/archive/2004/07/14/182813.aspx</link><pubDate>Wed, 14 Jul 2004 11:29:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:182813</guid><dc:creator>mkpark</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/mkpark/comments/182813.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mkpark/commentrss.aspx?PostID=182813</wfw:commentRss><description>&lt;P&gt;In most times, while I do dogfood/test VisualStudio 2005, I put them under debugger to monitor&amp;nbsp;several things...&lt;/P&gt;
&lt;P&gt;- First Chance AV&lt;/P&gt;
&lt;P&gt;- Unhandled Exception&lt;/P&gt;
&lt;P&gt;- Userbreaks from System to process under debugger&lt;/P&gt;
&lt;P&gt;- Appverifier(a tool which is part of Application Compatibility Toolset)&amp;nbsp;notification via Int3(User break)&lt;/P&gt;
&lt;P&gt;*ACT is&amp;nbsp;downloadable from &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyID=7fc46855-b8a4-46cd-a236-3159970fde94&amp;amp;DisplayLang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=7fc46855-b8a4-46cd-a236-3159970fde94&amp;amp;DisplayLang=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you are using debug build for testing, you don't have to run your app under debugger in most of cases because your debug build may have enough asserts to show errors in early stage. &lt;/P&gt;
&lt;P&gt;However for many QAs, using retail build which will be shipped to customer is more general. so monitoring app with Debugger and appverifier is very interesting ways to do. &lt;/P&gt;
&lt;P&gt;For example, I saw fair amount of issues that the thread by RPC call crashes and the AV caught by RPC handler. so caller may handle it without actual crash but it ends up as random and catastropic errors. however under debugger, you can see this kind of issues. so you can easily figure out the real cause of random issues. &lt;/P&gt;
&lt;P&gt;Adding to this, with various Appverifier options, you can expose memory and handle issues much easier by reducing the tolerance of memory/handle mis-usages. it is really useful to improve overal stability of your product. &lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=182813" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/mkpark/archive/tags/Let_2700_s+talk+about+Testing_2E002E00_/default.aspx">Let's talk about Testing..</category><category domain="http://blogs.msdn.com/mkpark/archive/tags/About+VS+Debugger/default.aspx">About VS Debugger</category><category domain="http://blogs.msdn.com/mkpark/archive/tags/Tricks+and+Tips_2E002E002E00_/default.aspx">Tricks and Tips...</category></item><item><title>Are you looking for the latest edition of "The VS7 Debugger doesn’t work. What can I do?" document? </title><link>http://blogs.msdn.com/mkpark/archive/2004/03/09/86884.aspx</link><pubDate>Wed, 10 Mar 2004 02:04:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:86884</guid><dc:creator>mkpark</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.msdn.com/mkpark/comments/86884.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mkpark/commentrss.aspx?PostID=86884</wfw:commentRss><description>&lt;P&gt;Well, while we are moved to this weblog, the link of my document is just gone from gotdotnet. and I got many mails from people about whether the latest document is. &lt;/P&gt;
&lt;P&gt;so I moved it on my weblog. it is live!!! whenever there is any new issues from customer, I updated it. so please enjoy it. if you want to get word format doc with pictures, please send me mail. I'll forward it to you. &lt;/P&gt;
&lt;P&gt;the link is &lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;A title=http://weblogs.asp.net/mkpark/articles/86872.aspx HREF="/mkpark/articles/86872.aspx"&gt;http://weblogs.asp.net/mkpark/articles/86872.aspx&lt;/A&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=86884" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/mkpark/archive/tags/About+VS+Debugger/default.aspx">About VS Debugger</category><category domain="http://blogs.msdn.com/mkpark/archive/tags/Tricks+and+Tips_2E002E002E00_/default.aspx">Tricks and Tips...</category></item><item><title>Remove OLE Exception filer</title><link>http://blogs.msdn.com/mkpark/archive/2004/02/26/80825.aspx</link><pubDate>Fri, 27 Feb 2004 05:37:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:80825</guid><dc:creator>mkpark</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/mkpark/comments/80825.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mkpark/commentrss.aspx?PostID=80825</wfw:commentRss><description>&lt;P&gt;Sometimes, we are seeing random hangs or crashes with our testing product. well when we actually look into the post issue state, in many cases it is not easy to understand what causes the problem. &lt;/P&gt;
&lt;P&gt;One of the reasons not to see the cause is because the errornous situations are already dealt automatically. and OLE Exception filter is the very one in many cases. &lt;/P&gt;
&lt;P&gt;To disable this, you need to do&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Wingdings; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Set the registry key to turn of Exception filter like [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Ole] IgnoreServerExceptions"="Y&amp;#8220;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;reboot your machine.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;it will give you better chance to find out the very cause of nasty issues. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;One thing to remember, after you set this registry key, you may see abnormal crashes with other applications which you couldn't see before. well this registry key is for entire system. so maybe some of application expose their internal issues to you. :)&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=80825" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/mkpark/archive/tags/Let_2700_s+talk+about+Testing_2E002E00_/default.aspx">Let's talk about Testing..</category><category domain="http://blogs.msdn.com/mkpark/archive/tags/Tricks+and+Tips_2E002E002E00_/default.aspx">Tricks and Tips...</category></item><item><title>ILDasm is your good friend...</title><link>http://blogs.msdn.com/mkpark/archive/2004/01/30/64894.aspx</link><pubDate>Fri, 30 Jan 2004 11:28:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:64894</guid><dc:creator>mkpark</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/mkpark/comments/64894.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mkpark/commentrss.aspx?PostID=64894</wfw:commentRss><description>&lt;P&gt;Some times, you get frustrated because your code doesn't work when it calls methods from other people such as framework. also you don't have source code of the methods. so, even with the reference, it is not easy to understand what is wrong. Well then, open the assembly and look into the IL code with ILDasm. &lt;/P&gt;
&lt;P&gt;If you have little knowledge of x86 assembly code, you probably can recognize the similarity in IL code. so, you will be able to understand what could be cause of your problem. &lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=64894" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/mkpark/archive/tags/Tricks+and+Tips_2E002E002E00_/default.aspx">Tricks and Tips...</category></item></channel></rss>