how can i minimize the stack trace in eclipse java tomcat? -
when debug java app in eclipse during development, problems isolated actual code in whatever app debugging. yet stack trace lists every class in every jar included in buildpath called when error thrown. means takes longer every single time sort through stack trace find lines of code in classes have built myself in app. want stop wasting time.
how can set eclipse stack trace includes classes , line numbers in code written in project itself, , not in included jars?
i wrote open source library has 1 of utilities solves exact problem. utility allows specify particular package prefix , allows smartly filter out irrelevant lines stack trace. can control boolean flag if want full stacktrace or filtered one. use feature in of projects , happy it. library available maven artifact (source code, javadoc , actual library) , project on github. utility can plugged in spring bean. here article explains in detail how works how use , how both maven artifact , project github: open source java library stack trace filtering, silent string parsing unicode converter , version comparison. paragraph "stacktrace noise filter"
Comments
Post a Comment