| 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: 14670
|
|
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 .
|
 |
 |
|
|
subject: Eclipse 3.3.2- Debugger to stop at a Specific Condition
|
|
|