How can I troubleshoot design-time packages in Delphi/C++Builder?

蹲街弑〆低调 提交于 2021-02-07 20:57:36

问题


I have consistently had IDE problems in Delphi/C++Builder for years, with every version. I usually just reboot, recompile, etc. and move on. However, I keep seeing others say that the IDE is rock solid. I've read many people say that most IDE problems are a result of custom component problems.

We have several of our own custom components and I would not be at all surprised that they were causing the problems. However, I have no idea how to find out.

1) I cannot easily just uninstall a component and see how things go. Each component is vital to our project and designing it out so I can test for a few days is not practical.
2) When I have IDE crashes, they are usually AV's with little (to me) useful information.
3) Sometimes the IDE works for hours with no problems. There are no reasonably reproducible issues, just seemingly random crashes, AV's and failed compiles.

Has anyone had any luck troubleshooting design-time packages?


回答1:


Here is how to debug an expert (GExperts in this case). This should be transferrable to your case.



来源:https://stackoverflow.com/questions/1701544/how-can-i-troubleshoot-design-time-packages-in-delphi-cbuilder

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!