Open klemmchr opened 1 month ago
Oof, I don't think we ever tested profiling in conjunction with Blazor. That's something we might be able to cover via our samples tho. Thanks for reporting this!
One small note regarding profiling and Blazor: Blazor runs single threaded so if profiling needs another thread for some background jobs this will not be supported until .NET 9 ships.
One small note regarding profiling and Blazor: Blazor runs single threaded so if profiling needs another thread for some background jobs this will not be supported until .NET 9 ships.
@klemmchr I take it you're talking about Blazor WebAssembly here, so you're wanting to profile WebAssembly UI applications running in the browser? A lot of the profiling code is unmanaged code (basically C) so I'm not sure how well this will translate to WebAssembly.
Oh yeah then this is another hurdle for profiling in Blazor WebAssembly.
Package
Sentry
.NET Flavor
.NET
.NET Version
8.0.0
OS
Browser
SDK Version
4.9.0
Self-Hosted Sentry Version
No response
Steps to Reproduce
Add Profiling to a Sentry application and publish it with AOT enabled
Expected Result
Build suceeds
Actual Result
Build fails with an error during precompiling