mrpmorris / Fluxor

Fluxor is a zero boilerplate Flux/Redux library for Microsoft .NET and Blazor.
MIT License
1.22k stars 139 forks source link

Find component causing OnInitialized missing error #443

Closed mohaaron closed 10 months ago

mohaaron commented 10 months ago

I have a fairly complex hierarchy of components and am getting an error that OnInitialized is not being called in an overidden OnInitialized. Is there anyway I can see in a stacktrace what the component is that's missing the call to base.OnInitialized()? I've been unable to find the offending component.

mrpmorris commented 10 months ago

Unfortunately, no, because this is an exception that is thrown when an object is garbage collected. I'm afraid you're going to have to do a FindAll and search for OnInitialized