<?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>Did you know… You can use Breakpoint Filters to break the right process - #273</title><link>http://blogs.msdn.com/saraford/archive/2008/08/04/did-you-know-you-can-use-breakpoint-filters-to-break-the-right-process-273.aspx</link><description>Conditional breakpoints are for breaking at the expression level, when a particular condition is true, like x=5.&amp;#160; But what if you have multiple instances of the same app running?&amp;#160; How do you set to break the instance you want? The answer is</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Did you know… You can use Breakpoint Filters to break the right process - #273</title><link>http://blogs.msdn.com/saraford/archive/2008/08/04/did-you-know-you-can-use-breakpoint-filters-to-break-the-right-process-273.aspx#8831145</link><pubDate>Mon, 04 Aug 2008 16:59:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8831145</guid><dc:creator>Skip Valentine</dc:creator><description>&lt;p&gt;While you're on Breakpoints, there's one debugger feature that I've missed from the old VB6 days that I never have had success in finding in the .Net debugger world. It has to do with Conditional breakpoints. &lt;/p&gt;
&lt;p&gt;Apparently, in the .Net debugger you can setup a conditional breakpoint at a particular line of code, if the condition is true when that line of code is executed, the debugger will break at that line of code and let you walk thru it - (may be somewhat useful, I guess, but I've yet to have a need for it).&lt;/p&gt;
&lt;p&gt;In the VB6 debugger, you could setup a conditional breakpoint that would cause the debugger to break when the condition became true, (not at some predetermined line of code, but as soon as the condition became true).&lt;/p&gt;
&lt;p&gt;So, if you knew that somewhere in your vast amount of source, the soldQuantity integer variable was incorrectly getting set to say &amp;quot;-5&amp;quot;, you could setup a conditional breakpoint of something like &amp;quot;soldQuantity == -5&amp;quot;, and as soon as the soldQuantity was set to -5, the debugger would break execution and take you to the line of code that had just made the condition true (an EXTREMELY useful feature - when squashin' bugs).&lt;/p&gt;
&lt;p&gt;So, my question is: Is there some ambiguous (or better yet, &amp;quot;wow! I never noticed that before! - (my bad)&amp;quot;) way to setup the conditional breakpoint to break at the moment the condition becomes true? Or, is it as I suspect, and that subtle little feature of the &amp;quot;conditional breakpoint&amp;quot; just never made it's way over to the .Net IDE's debugger? &lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Skip V.&lt;/p&gt;
&lt;p&gt;ps. I love your &amp;quot;Did you know...&amp;quot;'s, I'm almost ashamed to say, but the majority of them result in a &amp;quot;well no, I didn't. That's pretty cool&amp;quot;. Thru all of this, I've learned to not be quite so quick to criticize our users for &amp;quot;not reading the freakin' screen&amp;quot;. I'm a bit guilty of that myself.&lt;/p&gt;</description></item><item><title>Visual Studio Links #61</title><link>http://blogs.msdn.com/saraford/archive/2008/08/04/did-you-know-you-can-use-breakpoint-filters-to-break-the-right-process-273.aspx#8834219</link><pubDate>Tue, 05 Aug 2008 18:13:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8834219</guid><dc:creator>Visual Studio Hacks</dc:creator><description>&lt;p&gt;My latest in a series of the weekly, or more often, summary of interesting links I come across related to Visual Studio. Chris Craft created a series of posts in July he called 31 Days of Visual Studio Tips &amp;amp;amp; Tricks. All of the posts along with the&lt;/p&gt;
</description></item><item><title>Always 英文技术文章参照（ 十四 ）{ UpdateTime:2008-8-6; } My article in the cnblogs</title><link>http://blogs.msdn.com/saraford/archive/2008/08/04/did-you-know-you-can-use-breakpoint-filters-to-break-the-right-process-273.aspx#8836196</link><pubDate>Wed, 06 Aug 2008 09:04:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8836196</guid><dc:creator>真见</dc:creator><description>&lt;p&gt;友情提示：请大家直接看原英文，参照系列标题就是简介。消息与工具第一名：31天的VisualStudio提示和技巧。&lt;/p&gt;
</description></item><item><title>Always 英文技术文章参照（ 十四 ）{ UpdateTime:2008-8-6; } My article in the cnblogs</title><link>http://blogs.msdn.com/saraford/archive/2008/08/04/did-you-know-you-can-use-breakpoint-filters-to-break-the-right-process-273.aspx#8836211</link><pubDate>Wed, 06 Aug 2008 09:09:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8836211</guid><dc:creator>真见</dc:creator><description>&lt;p&gt;友情提示：请大家直接看原英文，参照系列标题就是简介。消息与工具第一名：31天的VisualStudio提示和技巧。&lt;/p&gt;
</description></item><item><title>Always 英文技术文章参照（ 十四 ）{ UpdateTime:2008-8-6; } My article in the cnblogs</title><link>http://blogs.msdn.com/saraford/archive/2008/08/04/did-you-know-you-can-use-breakpoint-filters-to-break-the-right-process-273.aspx#8836326</link><pubDate>Wed, 06 Aug 2008 09:54:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8836326</guid><dc:creator>cnblogs.com</dc:creator><description>&lt;p&gt;友情提示：请大家直接看原英文，参照系列标题就是简介。 消息与工具 第一名：31天的Visual Studio提示和技巧。 &amp;amp;#160; 2. 微软下载（TFS ） -VSTS 2008 技术可行性说明书&lt;/p&gt;
</description></item><item><title>Always 英文技术文章参照（ 十五 ）{ UpdateTime:2008-8-7; } My article in the cnblogs</title><link>http://blogs.msdn.com/saraford/archive/2008/08/04/did-you-know-you-can-use-breakpoint-filters-to-break-the-right-process-273.aspx#8840444</link><pubDate>Thu, 07 Aug 2008 09:47:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8840444</guid><dc:creator>真见</dc:creator><description>&lt;p&gt;1.MicrosoftSyncFrameworkv1.0Released(&lt;/p&gt;
</description></item><item><title>Always 英文技术文章参照（ 十五 ）{ UpdateTime:2008-8-7; } My article in the cnblogs</title><link>http://blogs.msdn.com/saraford/archive/2008/08/04/did-you-know-you-can-use-breakpoint-filters-to-break-the-right-process-273.aspx#8840455</link><pubDate>Thu, 07 Aug 2008 09:52:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8840455</guid><dc:creator>真见</dc:creator><description>&lt;p&gt;1.MicrosoftSyncFrameworkv1.0Released(&lt;/p&gt;
</description></item><item><title>Always 英文技术文章参照（ 十五 ）{ UpdateTime:2008-8-7; } My article in the cnblogs</title><link>http://blogs.msdn.com/saraford/archive/2008/08/04/did-you-know-you-can-use-breakpoint-filters-to-break-the-right-process-273.aspx#8840587</link><pubDate>Thu, 07 Aug 2008 11:02:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8840587</guid><dc:creator>cnblogs.com</dc:creator><description>&lt;p&gt;1. Microsoft Sync Framework v1.0 Released (&amp;amp;#160; &amp;amp;#160; 特色： Sync Services for ADO.NET v2 AND Sync Framework&lt;/p&gt;
</description></item><item><title>re: Did you know… You can use Breakpoint Filters to break the right process - #273</title><link>http://blogs.msdn.com/saraford/archive/2008/08/04/did-you-know-you-can-use-breakpoint-filters-to-break-the-right-process-273.aspx#8844936</link><pubDate>Sat, 09 Aug 2008 14:45:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8844936</guid><dc:creator>Ofek</dc:creator><description>&lt;p&gt;Skip Valentine:&lt;/p&gt;
&lt;p&gt;I think you could accomplish that by setting a DATA breakpoint (at the address of soldQuantity, say 0x12345678), and assigning a condition to it (say, ((INT*)0x12345678) == -5 ).&lt;/p&gt;
&lt;p&gt;At least i know these are available for VC++. &amp;nbsp;don't know much about VB though.&lt;/p&gt;</description></item><item><title>Visual Studio 2008 每日提示(二十八)</title><link>http://blogs.msdn.com/saraford/archive/2008/08/04/did-you-know-you-can-use-breakpoint-filters-to-break-the-right-process-273.aspx#9317733</link><pubDate>Wed, 14 Jan 2009 04:22:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9317733</guid><dc:creator>xjb</dc:creator><description>&lt;p&gt;本篇包括tip271-tip290&lt;a rel="nofollow" target="_new" href="http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-28.html注"&gt;http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-28.html注&lt;/a&gt;：作者的ti...&lt;/p&gt;
</description></item></channel></rss>