How to use Intellij Idea's exception breakpoints

前端 未结 2 1637
独厮守ぢ
独厮守ぢ 2020-12-28 12:55

This seems a dumb question, but I can\'t figure out how to debug exceptions in Intellij Idea. Googling does not help either.

I try to create exception breakpoints. W

2条回答
  •  不知归路
    2020-12-28 13:25

    I finally figured out by myself. In the View Breakpoints windows, check Any Exception but uncheck the mark for Caught exception. The launcher and class loader exceptions are caught and handled internally by the JVM. This way any user exceptions will be caught without manually specifying the type of exception.

提交回复
热议问题