Blade, could you consider making a change to InitIO where you set a string to what you are about to do and then include that string in the exception report? e.g.:
mode = "RegisterConfigLink"
callback.RegisterConfigLink(....)
mode="RegisterLink"
callback.RegisterLink(...)
For RegisterLink, RegisterConfigLInk, RegisterEventCB, and ResiterGenericEventCB?
Then in your exception handler change
"This exception was caught during initialization" to something like "An exception occurred while attempting " + mode + " during initialization: " + exception.Message
I think if that was there I could narrow down for Rich which API was throwing the exception, right now he doesn't feel reentrancy is an issue so having more data on what actually is crashing may allow him to narrow it down.
Thank you for considering!
Bill
mode = "RegisterConfigLink"
callback.RegisterConfigLink(....)
mode="RegisterLink"
callback.RegisterLink(...)
For RegisterLink, RegisterConfigLInk, RegisterEventCB, and ResiterGenericEventCB?
Then in your exception handler change
"This exception was caught during initialization" to something like "An exception occurred while attempting " + mode + " during initialization: " + exception.Message
I think if that was there I could narrow down for Rich which API was throwing the exception, right now he doesn't feel reentrancy is an issue so having more data on what actually is crashing may allow him to narrow it down.
Thank you for considering!
Bill
Comment