What are the detailed steps on how to debug the Delphi IDE?
I understand, from other posts, that one needs to create a project and, in the project's debugger settings, set the project's "host application" to Delphi (C:Program FilesBorlandBDS3.0Binds.exe
). Then, when the project is run in the debugger (by pressing the F9 key), a second instance of the Delphi IDE should appear.
I have managed to do the above step. However, when I run the project in debugger mode, I don't see any second instance of the Delphi IDE opening.
Motivation
There is a VCL component, for which I do have the source code, that builds, compiles and installs fine. But, when it is placed on a form in a project, Delphi hangs when you close the form. So, I want to find out why Delphi is freezing on exit with this component on a form. (It hangs at design-time, when closing the project).
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…