Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide frames with StackTraceHiddenAttribute from /exceptions and /stacks #7532

Merged
merged 16 commits into from
Oct 21, 2024

Conversation

schmittjoseph
Copy link
Member

@schmittjoseph schmittjoseph commented Oct 18, 2024

Summary

When frames (via their function or declaring type) contain StackTraceHiddenAttribute they are now hidden from text stack traces. When retrieving json stack traces, they are still included but are identified by a new hidden field.

The bulk of this PR is updating our /exceptions and /stacks functional tests + test infrastructure. Also fix a bug with how our profiler identified hidden functions.

Release Notes Entry

Hide frames with StackTraceHiddenAttribute from /exceptions and /stacks. When retrieving json data these frames are still included but are identified by a new hidden field.

@schmittjoseph schmittjoseph added the update-release-notes Pull requests that should be mentioned in the release notes label Oct 18, 2024
@schmittjoseph schmittjoseph requested a review from a team as a code owner October 18, 2024 23:10
@schmittjoseph schmittjoseph enabled auto-merge (squash) October 21, 2024 17:12
@schmittjoseph schmittjoseph merged commit e374949 into dotnet:main Oct 21, 2024
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
update-release-notes Pull requests that should be mentioned in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants