Can I determine the order in which my units have been initialized?
问题 I am hunting a bug which might be connected to unit initialization order. Is there a way to see which initialization section was executed when? I need to know the order. This is during debugging, so I have the full power of the Delphi IDE, in my case Delphi 2009. I could set breakpoints, but this is rather tedious when having many units. Do you have any suggestions? 回答1: For units in the interface uses list, the initialization sections of the units used by a client are executed in the order