Window | Preferences | Java | Code Style | Code Templates | Code | Method Body
// ${todo} Auto-generated method stub
throw new UnsupportedOperationException("Not implemented");
Then add a breakpoint to your Debugger Breakpoint view:
New Java Exception for UnsupportedOperationException that hasn't been caught.
IDEA supports something similar, since I had it set up then as well, but I've not used IDEA for a couple of years.
I tend not to use debuggers; I prefer tests, but sometimes a debugger's the thing.
No comments:
Post a Comment