GitHub - evgrud/dotnet-stack-trace-offsets-issue: A repro of what could be a bug or a missing feature that shows how a stack trace points to the top of a method instead of closer to its end. · GitHub
Skip to content

evgrud/dotnet-stack-trace-offsets-issue

Repository files navigation

dotnet-stack-trace-offsets-issue

This program simply crashes and displays an exception after pressing enter.

After compiling for Release (I recommend turning JIT tiered comilation off with setting the environment variable COMPlus_TieredCompilation to 0) and running (and pressing enter in the console) you can see that the exception stack trace would point the top of the function which is nowhere near the location of the crash.

Relevant issue is: https://github.com/dotnet/coreclr/issues/19807

About

A repro of what could be a bug or a missing feature that shows how a stack trace points to the top of a method instead of closer to its end.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages