.NET has a couple of handy annotations that instruct a debugger to step through/over certain methods. I would like to know if there is an equivalent that works on the Java platform.
For instance:
@DebuggerStepThrough
public void foo() {
..
}
would cause the debugger to not stop in foo
when stepping.
PS. I am implementing a debugger and have control over the bytecode that is emitted
AFAIK, not as a stock feature, no.
Otherwise I can also recommend having a look at eclipse debugger's "Step filter" and "conditional breakpoint" features. It allows you to ignore certain types (step filter) or only halt on certain runtime conditions (conditional breakpoints).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With