How can I get the Eclipse debugger to automatically expand the package explorer in libraries to exceptions?

I like when the Eclipse debugger stops the process and extends the “Package Explorer” to highlight a line in my source code when I raise a null pointer exception or other error, but I hate it when it tries to do this for exceptions occurring inside the library, for which I don’t have a related source. In these cases, he opens the Package Explorer application up to this point (often in the back of the Android 2.1 SDK). This makes me close the tree, and it shows a useless tab for the corresponding class file, which I also have to close. Is it possible to preserve useful behavior only for exceptions occurring in accessible source files?

+4
source share
1 answer

There is a double arrow (↔) next to the packet explorer. If you cancel the check, Eclipse will not focus the Explorer Explorer stack when opening the resource.

You can also choose what to show in the package explorer. In the package explorer menu (top right, next to the double arrow), select Filters ... If you disconnect (select) Libraries from the external, then the package explorer will not display libraries (and therefore will not expand them). However, this means that no libraries will be shown (not even with the source). This is not exactly what you want, but it can help.

+1
source

Source: https://habr.com/ru/post/1385440/


All Articles