<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://jetbrains.dzone.com"  xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dz="http://www.developerzone.com/modules/dz/1.0" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
 <title>JetBrains Zone - Comments for &quot;Set Conditional Breakpoints in IDEA&quot;</title>
 <link>http://jetbrains.dzone.com/tips/set-conditional-breakpoints-id</link>
 <description>Comments for &quot;Set Conditional Breakpoints in IDEA&quot;</description>
 <language>en</language>
<item>
 <title>Eclipse Conditional</title>
 <link>http://jetbrains.dzone.com/tips/set-conditional-breakpoints-id#comment-701</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;&lt;b&gt;Eclipse Conditional Breakpoints:&lt;/b&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Right click on the little blue ball in your editor that represents the breakpoint for that line of code.&lt;/li&gt;&lt;li&gt;Select &amp;quot;Breakpoint Properties&amp;quot;.&lt;/li&gt;&lt;li&gt;Check the &amp;quot;Enable Condition&amp;quot; checkbox.&lt;/li&gt;&lt;li&gt;Type your condition in the text are below it.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;That&#039;s the basics of it.  R.J. Lorimer wrote an interesting &lt;a href=&quot;http://www.javalobby.org/java/forums/t19825.html&quot; target=&quot;_blank&quot;&gt;post&lt;/a&gt; a while back about using this feature to dynamically add debug printlns at runtime. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
 <pubDate>Thu, 07 Feb 2008 15:56:50 -0500</pubDate>
 <dc:creator>bryanw_dzone</dc:creator>
 <guid isPermaLink="false">comment 701 at http://jetbrains.dzone.com</guid>
</item>
<item>
 <title>Any Eclipse or Netbeans</title>
 <link>http://jetbrains.dzone.com/tips/set-conditional-breakpoints-id#comment-644</link>
 <description>&lt;!--paging_filter--&gt;Any Eclipse or Netbeans users have a HOWTO for this one? It would be great if we could get a slice across all of the major IDE&#039;s.</description>
 <pubDate>Wed, 06 Feb 2008 14:09:03 -0500</pubDate>
 <dc:creator>mstine</dc:creator>
 <guid isPermaLink="false">comment 644 at http://jetbrains.dzone.com</guid>
</item>
<item>
 <title>And here is how you do the</title>
 <link>http://jetbrains.dzone.com/tips/set-conditional-breakpoints-id#comment-643</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;And here is how you do the same thing if you are using JDeveloper:&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://blogs.oracle.com/shay/2006/12/22#a301&quot;&gt; http://blogs.oracle.com/shay/2006/12/22#a301&lt;/a&gt; &lt;/p&gt;</description>
 <pubDate>Wed, 06 Feb 2008 13:35:46 -0500</pubDate>
 <dc:creator>gevatron</dc:creator>
 <guid isPermaLink="false">comment 643 at http://jetbrains.dzone.com</guid>
</item>
<item>
 <title>Yes Mike, the performance</title>
 <link>http://jetbrains.dzone.com/tips/set-conditional-breakpoints-id#comment-631</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Yes Mike, the performance may suffer when you use conditional
breakpoints. It will definitely depend on the complexity of the
structure being iterated and the expression that defines your condition. &lt;/p&gt;&lt;p&gt;Technically,
IntelliJ IDEA will stop at the breakpoint each time and evaluate the
expression. If the condition is not met, it will resume the Java
machine until the next breakpoint.&lt;/p&gt;&lt;p&gt;Thus you have to use this feature thoughtfully, in order to get the most benefit out of it ;-) &lt;/p&gt;</description>
 <pubDate>Wed, 06 Feb 2008 08:16:47 -0500</pubDate>
 <dc:creator>ann</dc:creator>
 <guid isPermaLink="false">comment 631 at http://jetbrains.dzone.com</guid>
</item>
<item>
 <title>What&#039;s the performance</title>
 <link>http://jetbrains.dzone.com/tips/set-conditional-breakpoints-id#comment-620</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;What&#039;s the performance impact when a condition is not met?  For instance, if I add this in a loop that process a two dimensional array of pixels, and I want the break point to hit when a pixel has an alpha value greater then 50%, I don&#039;t want the debugger to delay processing each pixel by an x number of miliseconds.&lt;/p&gt;&lt;p&gt;Does IDEA compile the expression?&lt;/p&gt;&lt;p&gt;Or perhaps it replaces the class with a modified version using hotswap?  THAT would certainly have a minimum performance impact, because it&#039;d be just like having written the condition right inside the method, with no actual breakpoints happening unless the condition is met.&lt;/p&gt;&lt;p&gt;How does it do it, and also, how do the other IDE&#039;s do it? &lt;/p&gt;</description>
 <pubDate>Tue, 05 Feb 2008 18:27:44 -0500</pubDate>
 <dc:creator>okidoky</dc:creator>
 <guid isPermaLink="false">comment 620 at http://jetbrains.dzone.com</guid>
</item>
</channel>
</rss>
