Can I determine the order in which my units have been initialized?

后端 未结 5 2067
长情又很酷
长情又很酷 2020-12-10 03:37

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

5条回答
  •  感动是毒
    2020-12-10 04:16

    You can set breakpoints on all initialization sections that don't break but write a message to the debugger log. It will give you the same list as adding OutputDebugString('...') calls but without having to modify the source code of all units.

提交回复
热议问题