Tracing stacktrace is sometimes very boring. Especially your code is not above certain quality. If you’re an IntelliJ user, there are many many ways to trace your code like Exception Breakpoints, Field Watchpoints, Method Breakpoints and even JS breakpoints :) Anyways, today I needed to trace an exception in one of Eclipse project for work. I was gonna place an Exception Breakpoint, but then I remember that this is not IntelliJ. So a little investigation showed me that it is possible to place an Exception Breakpoint in Eclipse as well. Here is how I do it:
First, open the breakpoint view by going into views menu.
Then click the create an Exception Breakpoint button on the top right corner. It will pop up a window for you to type which exception you want to trace.
That’s it. All you need to do after this is just debug your application. Hope it helps.










So Eclipse is not all about “dislikes”, right :)
May 23, 2009, 1:00 AMAh Pavel :) You know me! You cannot convince me on Eclipse. Crappy software is crappy software. To me, Eclipse is in crappy class. Although they’re copying so many stuff from IntelliJ, they still don’t know how to present it. Everything is in a mess. You need to do deep diving and find out if u can try the desired functionality:P
May 27, 2009, 3:16 PMIf only, IntelliJ had an OC4J debbugger :))
Develop with pleasure :))
I love IntelliJ.
June 17, 2009, 10:23 PM