Prevent debugger to break on all Exceptions in a 3rd party library

前端 未结 4 1934
無奈伤痛
無奈伤痛 2021-01-22 05:44

I maintain an open source library that internally uses exceptions during a recursive method call. The exception is taken back on the call stack and in some cases handled, while

4条回答
  •  天涯浪人
    2021-01-22 06:16

    No, you cant prevent it.

    I recommend the change your design to use return codes/classes instead of exceptions. Exceptions is very expensive for recursive method calls.

提交回复
热议问题