Quantcast
Channel: How to jump where exception caught in IntelliJ debugger? - Stack Overflow
Viewing all articles
Browse latest Browse all 2

How to jump where exception caught in IntelliJ debugger?

$
0
0

I have

throw new IndexOutOfBoundsException();

line in my code. Unfortunately, this exception has no any effect: i.e. no message appeared and no program crash.

This is because code is called from somewhere in system library and there exception is caught and processed.

How to find this place?

If I press F8 on this line, I jump to the code inside Scene:

            try {                tm = dndGesture.processTargetDrop(dragEvent);            } finally {                DragboardHelper.setDataAccessRestriction(                        dndGesture.dragboard, true);            }

but does this code catches an exception? I think it should just execute finally block and then go to somewhere's catch block. But this doesn't happen: if I continue pressing F8 I see no any try/catch/finally blocks.

How can this happen?


Viewing all articles
Browse latest Browse all 2

Trending Articles





<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>