komlaaa
asked on
condional expression debuger
How do we create a conditional expression in eclipse debuger?
Since i am not getting any response, i may have confused the experts :) -- basically i am using eclipse debugger in some java code. I want to add a conditional expression to the debugger so that it stops the for loop to stop at 60th loop (i = 60 ) for example. I just recall how to add the conditional expression.
Since i am not getting any response, i may have confused the experts :) -- basically i am using eclipse debugger in some java code. I want to add a conditional expression to the debugger so that it stops the for loop to stop at 60th loop (i = 60 ) for example. I just recall how to add the conditional expression.
ASKER
Here is how it is done(i was able find this out on my home pc):
Right click on the breakpoint line in the debugger area, select Breakpoint properties. Then click Enable condition and put in your requirements.
For some reason this feature is not available on my is not available on my Work PC eventhough i am using the same version as at home.
Right click on the breakpoint line in the debugger area, select Breakpoint properties. Then click Enable condition and put in your requirements.
For some reason this feature is not available on my is not available on my Work PC eventhough i am using the same version as at home.
If I could, I'd award you the points on this question.
ASKER
So the question is what is preventing this feature to be available on my work machine?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
that feature is only available in java -- i was trying do it in jython script.
Hehe you input direct me so i have to give you the points
Hehe you input direct me so i have to give you the points
Thanks!
Forced accept.
Computer101
EE Admin
Computer101
EE Admin
if(i==60){
log.debug(); //or a noop() call set your breakpoint here.
}