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 t
You might check out the unit System and SysInit and look for the procedure InitUnits. Here you see that every module compiled with Delphi has a list of units initialization and finalization pointers. Using those plus a map file might give you the exact initialization order, but it will take some pointer hackery.