Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Errors are indecipherable being swamped by thousand line framework exception trace

Don't you just look at the top lines?



If you're lucky and the exception happens in your code directly. If not you're gonna have about 30 lines of interceptors and generators and whatnot before you get to your class. If you call ClassA::foo from ClassB::bar you'll get about 5 lines of interceptors between foo and bar in your stack trace. Debugging is also a nightmare in IntelliJ as step-into and step-out will go through all those interceptors.


Debugging bothered me too. But in the end I have configured IntelliJ to skip all the interceptor classes while stepping into. Had to add a whole bunch of classes and packages for that though


I used Spring Boot and just set debug breakpoints, that way you don't have to step into and out-of, you just press "play" and it moves to the next breakpoint.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: