'Is there someway to set a breakpoint if an unhandled exception occurs in Android Studio?

Is there someway to set a breakpoint if an unhandled exception occurs in Android Studio? I want the debugger to stop at the line that causes the exception. I think this is very obvious but I am not able to find how. Thanks.



Solution 1:[1]

You can look into Run or Logcat and there will be information on the type of error and the line number where the error occured

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1