dotnet / diagnostics

This repository contains the source code for various .NET Core runtime diagnostic tools and documents.
MIT License
1.18k stars 355 forks source link

Better Windows dump-based StackOverflow diagnostics #4944

Open noahfalk opened 17 hours ago

noahfalk commented 17 hours ago

On Windows if an application crashes with a stack overflow and a dump is collected, looking at it in both Visual Studio and windbg gives little clue about the callstack which caused the overflow.

For repro and observed behavior, see https://github.com/dotnet/diagnostics/issues/3506. #3506 tracks improving the documentation, this issue tracks improving the actual product experience.

The desired behavior is that both VS and windbg should prominently show that a StackOverflow occured and show the callstack frames that ran recursively to cause the overflow.

noahfalk commented 17 hours ago

fyi @mikem8361 @hoyosjs @mikelle-rogers