Put an exception to an exception to get the next exception on .net?

Once an unhandled exception has been thrown the normal execution of your program ends so there is no way to 'skip it' and move on For debugging purposes if you want you program to carry on executing regardless of this exception you could surround the section of code that is causing the problem in a try/catch block and just ignore the exception although this is not good practice for production code try { // code causing exception } catch (Exception ex) { // Ignore of log exception } As mentioned before this is not good practice for production code. Exceptions should ideally be handled when thrown and not ignored. Failure to do so could lead to all sorts of hard to debug problems down the line but for debugging purposes, if you need to see further into the program execution, this may help.

Once an unhandled exception has been thrown the normal execution of your program ends so there is no way to 'skip it' and move on. For debugging purposes if you want you program to carry on executing regardless of this exception you could surround the section of code that is causing the problem in a try/catch block and just ignore the exception although this is not good practice for production code. Try { // code causing exception } catch (Exception ex) { // Ignore of log exception } As mentioned before this is not good practice for production code.

Exceptions should ideally be handled when thrown and not ignored. Failure to do so could lead to all sorts of hard to debug problems down the line but for debugging purposes, if you need to see further into the program execution, this may help.

You can put a break point on the exception and when you get to that line you can go to the next statement (assuming you know it is safe to do so) and right-click and select 'Set Next Statement'.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions