When I was at a different company using a different debugger we were able to put a breakpoint at a line of code and have it halt conditionally, like the following:
if ( x > 10 ) {
halt();
} else {
printf( "x is only %d\n", x );
}
(Something like that, not that exact syntax).
I was wondering whether you could do this with eclipse (Java)? I guess x would be in the code. This other debugger also let us define debugger variables (local to the debugging) that we could use. Not sure if Eclipse does that?
Another thing, when a variable's value or memory location changes(since some variables could be in registers) you could also halt. Can Eclipse do that? Perhaps you could direct me to a web site containing info like that, which I could not find?