I wonder if anyone could help, I am trying to debug my Blazor Server app which either keeps restarting itself or runs with high CPU usage even though only a few requests per seconds.
In Visual Studio 2022 diagnostic tools windows, I can see lots of exceptions from Syncfusion.Blazor.dll, and I wonder if these errors may be the cause of the problems. I attach a screen shot of the errors for your info.
My Blazor server app is compiled with .net 7.0 with Syncfusion 18.104.22.168. The app uses various Syncfusion components, chart, textbox, dropdown, autocomplete, etc.
We have noticed errors being logged from Syncfusion scripts in the shared image. Although we did not encounter such issues in our testing, we kindly request that you share the complete error log and project in a support ticket. This will enable our team to analyze and provide guidance on any usage issues, or fix any potential component-level issues.
Bharat Ram H
Thank you for the reply.
I have been able to track down the reason of why my app keeps crashing by using a profiler, this is because of SfAccumulationChart which for unknown reasons it causes high CPU usage leading to the app to crash eventually. Since I have removed this component from my app's main page, the problem of high CPU usage and crashing have gone away. I will raise a separate ticket for SfAccumulationChart.
As for the errors in diagnostic windows, I am still seeing them even after removing SfAccumulationChart from my project. Please let me know how to get 'the complete error log' as per your request.
Before proceeding further, could you please provide us with the following details:
1. Please share more details about our used Syncfusion components and the functionality that you did for debugging to get these exceptions. Also, share a video demonstration if possible.
2. Please share the browser and Visual Studio details.
3. Please share example code snippets if possible.
These details would allow us to take a closer look and provide an accurate solution as soon as possible.
Bharat Ram H