Currently Browsing: .NET Bug Fixes

Dealing with infinite recursion

Be sure to check out the follow up post on infinite recursion. Infinite recursive loops are notoriously difficult bugs to debug. Crashing ASP.NET websites giving little information to go on, and in console and forms applications giving you a handy exception message “An unhandled exception of type ‘System.StackOverflowException’ occurred in Unknown Module.” ‘Unknown Module’, handy. Once you manage to find the root cause of the infinite recursion, sometimes the fix is easy, it could just be a counter that wasn’t being incremented properly, or some boolean check...
read more