-
Notifications
You must be signed in to change notification settings - Fork 137
Description
For some reason it is not possible to debug my Blazor Server (NET 7.0) implementation of ICrudFileService because in debug mode file upload simply crushes without logging any messages to the console. Perhaps it is somehow related to the "File chooser dialog can only be shown with a user activation." problem which I encounter while debugging step-by-step ButtonFileClicked method. I was also able to hit breakpoint in OnChange() method of GridCreateComponent, but then it immediately crushes without any exceptions (adding try-catch inside OnChange and ErrorBoundary in my main layout didn't help to catch something). Seems that the process is simply killed.
Upd: Eventually I have managed to debug my error since it occured to be earlier in ICrudDataService which does not depend on file upload component. Still, it is quite complex to debug file processing code (if one needs to) without debug mode with just writing "breakpoints" to console.