Skip to content

Document StackTraceLineNumberSupport option#52989

Merged
MichalStrehovsky merged 2 commits intomainfrom
MichalStrehovsky-patch-2
Apr 20, 2026
Merged

Document StackTraceLineNumberSupport option#52989
MichalStrehovsky merged 2 commits intomainfrom
MichalStrehovsky-patch-2

Conversation

@MichalStrehovsky
Copy link
Copy Markdown
Member

@MichalStrehovsky MichalStrehovsky commented Apr 13, 2026

Added support for generating line number information in stack traces for AOT published apps.

Cc @dotnet/ilc-contrib


Internal previews

📄 File 🔗 Preview link
docs/core/deploying/trimming/trimming-options.md docs/core/deploying/trimming/trimming-options

Added support for generating line number information in stack traces for AOT published apps.
Copilot AI review requested due to automatic review settings April 13, 2026 01:25
@MichalStrehovsky MichalStrehovsky requested review from a team and adegeo as code owners April 13, 2026 01:25
@dotnetrepoman dotnetrepoman bot added this to the April 2026 milestone Apr 13, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Documents a new MSBuild trimming/AOT option that controls whether NativeAOT publishes extra source line information for stack traces, helping developers get file/line details at runtime.

Changes:

  • Add StackTraceLineNumberSupport (.NET 11+) to the Trim framework library features table, describing its effect for PublishAot apps.

Comment thread docs/core/deploying/trimming/trimming-options.md Outdated
Comment thread docs/core/deploying/trimming/trimming-options.md Outdated
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
@MichalStrehovsky MichalStrehovsky merged commit 1df3456 into main Apr 20, 2026
11 checks passed
@MichalStrehovsky MichalStrehovsky deleted the MichalStrehovsky-patch-2 branch April 20, 2026 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants