About 2,120,000 results
Open links in new tab
  1. C# catch a stack overflow exception

    I have a recursive call to a method that throws a stack overflow exception. The first call is surrounded by a try catch block but the exception is not caught. Does the stack overflow exception be...

  2. c# - How do I prevent and/or handle a ... - Stack Overflow

    From Microsoft: Starting with the .NET Framework version 2.0, a StackOverflowException object cannot be caught by a try-catch block and the corresponding process is terminated by default. …

  3. c# - How is a StackOverflowException detected? - Stack Overflow

    May 19, 2015 · I just added the stack-overflow tag to this question, and the description says it is being thrown when the call stack consumes too much memory. Does that mean the call stack is some sort …

  4. c# - How to fix 'System.StackOverflowException? - Stack Overflow

    Apr 29, 2017 · I have a project programmed in C# NET 3.5 in WPF which start very well in debug. However for example, in my TemplateColor.cs class I have this: using System; using …

  5. c# - Excepción no controlada del tipo 'System.StackOverflowException ...

    Apr 20, 2016 · Recordatorio: Las respuestas generadas por herramientas de IA no están permitidas debido a la política de inteligencia artificial de Stack Overflow en español. ¡Gracias por contribuir en …

  6. Stack overflow exception in C# setter

    I get a stack overflow exception on a's setter in the second class and I do not know why. I cannot use the first form because it is not supported by the Unity game engine.

  7. debugging - How to debug a StackOverflowException in .NET - Stack …

    Jan 19, 2011 · 7 Go to Debug, exceptions and check the thrown checkbox at 'Common Language Runtime Exceptions'. Now when you cause the stackoverflow exception, the debugger will stop …

  8. c# - System.StackOverflowException , when get set Properties are used ...

    Mar 21, 2012 · An unhandled exception of type 'System.StackOverflowException' occurred in wcfserviceLibrary.DLL the code is show as follows. [DataContract] public class memberdesignations …

  9. c# - Why does Property Set throw StackOverflow exception? - Stack …

    Dec 15, 2008 · More detailed on why the stack is overflown. There are many languages that don't have properties like C# does, so people just add separate get & set methods. Having this model, it's much …

  10. c# - How to fix StackOverFlowException in .NET - Stack Overflow

    Aug 18, 2016 · Now when you cause the stackoverflow exception, the debugger will stop. When that happens, ignore the exception's stacktrace and go to Visual Studio's Call Stack window and look at …