Hi how can I use that Add Watch Expression of eclipse to watch for any NullPointerExceptions that my application can throw ?
I saw a Guy once adding some code into that feature and with that he made eclipse debugger to stop when any NullpointerEx was “born”.
I would like to learn how to do that.
You don’t use ‘watch expression’. Go to the “breakpoints” view and add an exception breakpoint for
NullPointerException.