jQuery in Action, 2nd edition*
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse 3.3.2-  Debugger to stop at a Specific Condition Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse 3.3.2-  Debugger to stop at a Specific Condition" Watch "Eclipse 3.3.2-  Debugger to stop at a Specific Condition" New topic
Author

Eclipse 3.3.2- Debugger to stop at a Specific Condition

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi ,

I am using Eclipse 3.3.2 as my IDE .

Assume that this is my code







Is it possible that my debugger to stop at condition where when i == 99 ??

Please suggets as how to stop Eclipse Debugger when the value of i reaches 99


Save India From Corruption - Anna Hazare.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

1. Set a breakpoint at the System.out.println("Hi" + i); line.
2. Right-click the breakpoint and select "Breakpoint properties..."
3. In the "Breakpoint properties" page, click "Conditional" and enter "i == 99" in the condition.


[My Blog]
All roads lead to JavaRanch
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Thank you very much Christophe , i was able to stop at the specified condition .
 
wood burning stoves
 
subject: Eclipse 3.3.2- Debugger to stop at a Specific Condition
 
Similar Threads
My JavaDoc tool has gone missing in Eclipse
Is it possible to stop Eclipse Debugger , just before the Condition , which gives Exception
don't use any IDE for SCJP
Eclipse IDE on Vista
Operator precedence and arrays