2

I'm writing code with a lot of minor methods of the literally-can't-be-incorrect variety (e.g. one-line get/set methods for private fields), and while debugging, I don't want to accidently step into one of them because that changes the stack which resets the focus on my fields and variables.

Is there any sort of @ annotation or something like that which will tell the debugger, "if you're told to step into this function, step over it instead"?

1

1 Answer 1

0
F5 – “Step Into”
F6 – “Step Over”
F7 – “Step Return”
F8 – “Resume”
Ctrl+Shift+B – “Toggle Breakpoint”
Ctrl+Shift+I – “Inspect”

This is all I can find for you. Debugging depends on IDE(in this case eclipse) setting so I sure with you there's no @annotation on source code that can archive your requirement.

Sign up to request clarification or add additional context in comments.

2 Comments

But there might be some plugin for eclipse which can do that
Maybe I guess, but the point I want to show is no @annotation on source code can do that. The source code has nothing to do with the debugging's configuration/settings.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.