Visitar URL original
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

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

Stars

0 stars

Watchers

1 watching

Forks

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

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages