I\'m getting a NullPointerException in a Class from a 3rd party library. Now I\'d like to debug the whole thing and I would need to know from which object the class is held.
You can also set breakpoints on specific exceptions. From the Debug perspective, there's a button "Add Java Exception Breakpoint", and there you can add "NullPointerException". Your debugger will then suspend execution as soon as such an exception is raised.