<?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 : About VS Debugger</title><link>http://blogs.msdn.com/mkpark/archive/tags/About+VS+Debugger/default.aspx</link><description>Tags: About VS Debugger</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><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>Need to debug in both of Native and Managed together, but don't want to use InterOp mode debugging....</title><link>http://blogs.msdn.com/mkpark/archive/2004/01/30/64883.aspx</link><pubDate>Fri, 30 Jan 2004 11:09:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:64883</guid><dc:creator>mkpark</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/mkpark/comments/64883.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mkpark/commentrss.aspx?PostID=64883</wfw:commentRss><description>&lt;P&gt;VS7.x debugger has awesome feature which is known as InterOp, debugging managed and native codes together. it will let you step between different program types. so you can step from Native code to Manage and Manage to Native. also you can see mixed call stacks. &lt;/P&gt;
&lt;P&gt;However, this feature is not flawless. it is slower than native only and managed only debugging. and in some cases, your native debugging is limited by InterOp mode debugging. but you still need to debug your process with both of them.&lt;/P&gt;
&lt;P&gt;Well, I got this kind of situation some times and I was thinking how I can do this. and I figured out a way to do this. Normally VS7.x debugger checks whether there is any other debugger in place or not before starting debugging. so with general way, you will just get an error message. &lt;/P&gt;
&lt;P&gt;But, if you start managed debugging first and attach to the process via MSVCMON for native debugging with other instance of debugger, you still can debug one process with two different debug modes(both of Native and Managed). &lt;/P&gt;
&lt;P&gt;However when native debugger gets into break mode, because it is hard mode break your managed side debugger can't do any thing at all until you release the Native side debugger to get into run mode. &lt;/P&gt;
&lt;P&gt;if you remember this, when your InterOp mode debugger doesn't fit into your situation, you still can do debugging in both way at same time. &lt;/P&gt;
&lt;P&gt;Hope it help you. &lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=64883" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/mkpark/archive/tags/About+VS+Debugger/default.aspx">About VS Debugger</category></item></channel></rss>