This project is read-only.
1
Vote

StackOverflow exceptions are broken in the Locals window

description

When a natural stack overflow occurs, the first entry in the Locals window (which should be $exception) has a blank key, and a value of "Flushing the results of this expression failed.".

Clicking Reevaluate changes the result to "Please enter an expression. ".

No exceptions are thrown by devenv.

comments

ManishJ wrote Nov 7, 2014 at 6:03 AM

Hi SSL,

This behavior does not repro in the latest build. I do see $exception in the locals window and it has correct value and type. I caused a StackOverflowException by doing a recursive method call.

Can you share some repro code where you are seeing this behavior?

ManishJ
Roslyn Engineering Team

SSL wrote Nov 7, 2014 at 1:36 PM

This happens in CTP3 and CTP4 for every stack overflow; I repro'd with
        static void Main(string[] args)
        {
            Main(args);

ManishJ wrote Nov 7, 2014 at 5:51 PM

Thanks for the quick response SSL. I have verified that this issues does not repro in latest builds. You should see the fix in our next public preview.

Manishj
Roslyn Engineering Team