Debugging Issue with PDF Viewer Crashing Due to Breakpoints

I am currently using the PDF Viewer in a hosted Blazor PWA application and I’ve encountered an issue during debugging. When I set a breakpoint anywhere, api on server or code block in razor component, while loading a PDF document into the PDF Viewer, the app crashes and restarts. Turn off all breakpoints and all is well. I feel it might be something in the browsers debugger.

I'm using:
Syncfusion version 29.1.3
app is .Net9.0.3 Blazor (Client: wasm, API: ASP.Net Core 9)
Browser is Chrome 134.0...
Developing in Visual Studio 2022 with latest updates (version 17.3.5)

Has anyone dealt with these debugging issues before? Didn't see too much in this forum about it but I'm hoping somebody


1 Reply

SK Sathiyaseelan Kannigaraj Syncfusion Team March 31, 2025 12:22 PM UTC

Hi Michael Miller,

Thank you for reaching out to us. We also tested by adding a breakpoint during the PDF document loading and ran the sample, but we did not encounter any issues it worked as expected. Below, we have provided a sample and a demo video of our testing. Kindly review the sample and confirm if you are experiencing any issues. If the issue persists, please provide a modified sample and a demo video to help us replicate the problem so we can investigate further and provide a solution.

Sample we have tested

 
Demo on the testing 


Regards,
Sahiyaseelan K


Loader.
Up arrow icon