Stack Overflow and the Xbox 360

I discovered some unexpected behavior while working on Shmup You this past week. On the Xbox 360, creating an infinite recursion via a property won't cause a stack overflow exception. Instead, the screen will black, and the Visual Studio debugger will lose all symbols and stacks on every thread.

So this yields a black screen:

public int Foo { get{ return Foo; } }

and not a stack overflow exception.

social