M
Mike Schilling
Lew said:Not as clean as:
boolean forBreakpoint = (a > b);
return forBreakpoint;
That doesn't let you break only on true (or only on false).
And if their debugger doesn't support conditional breakpoints, they
can switch to either Eclipse or NetBeans for the right price.
That's true only if you meaure cost solely by initial cash outlay. Even if
Eclipse or NetBreans will eventually be as productive as their current
debugger, there's the learning curve to consider.
And then there's the fact that conditional breakpoints can be annoyingly
slow. .If I want to break only on false, and false occurs once every 10,000
times through the code, it can take much longer for the debugger to get
control 10,000 times, evaluating my expression each time, and relinquishing
control back 9,999 times, than for the debugger to get control only once.