'VSCode - In the debugger what is the difference between: Raised Exceptions, Uncaught Exceptions and User Uncaught Exceptions?

VSCode - In the debugger what is the difference between: Raised Exceptions, Uncaught Exceptions and User Uncaught Exceptions?

So in the bottom left of VScode when you debug there's this menu:
enter image description here

I'm trying to understand what the difference is between "Raise Exceptions", "Uncaught Exceptions" and "User Uncaught Exceptions." It seems when I have "Raised Exceptions" and "User Uncaught Exceptions" the code will actually stop itself on some exceptions that it can normally ignore and still execute when they are off.



Solution 1:[1]

  • Raised Exceptions: This is more of a manual exception raised by user to check for certain condition, and if that condition is true, then a warning is thrown.
  • Uncaught Exceptions: These are Exceptions that arises outside the scope of "Throw/Catch" Exception handling that the user creates.
  • User Uncaught Exceptions: These are Exceptions from user creation with "Throw/Catch" methodology.

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