显示Delphi 2010或Delphi 7程序的单元依赖性的工具 [英] Tool that shows unit dependencies for Delphi 2010 or Delphi 7 program

查看:299
本文介绍了显示Delphi 2010或Delphi 7程序的单元依赖性的工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正试图解开100个单位的毛球,删除一些。

We're trying to untangle a hairball of 100's of units, removing some.

如果有工具可以显示我们显式的单位使用单元X。

It would be helpful if there was tool that would show us what units were explicitly using unit X.

Penganza似乎没有报告。

Penganza doesn't seem to have a report that does that. (Although it has lots of other useful reports.)

任何人都可以建议一个工具或策略来做这个,除了隐藏单位x,然后击中F9 ...(虽然有很多其他有用的报告。)反复?

Can anyone suggest a tool or strategy for doing this, other than just hiding unit x and then hitting F9 ... repeatedly?

推荐答案

Peganza Pascal Analyzer 可以做的工作。我没有使用它很多,但一个前开发者在这里写了一个系统,使用PAL进行分析,然后将结果转储到数据库,然后有一个浏览器应用程序,让您输入一个单位名称,并返回受影响的单位列表,是否需要在单位更改时重建,或者界面是否更改。我们使用大量的BPL,所以你有时可以改变一个单位,你不必重新构建使用你的单位的二进制文件,除非界面改变。这节省了我们大量的工作(数百个BPL和EXE)。

Peganza Pascal Analyzer can do the work. I haven't worked with it much, but a former dev here wrote a system that uses PAL to do the analysis, then dumped the results into a database, and then there's a browser app that lets you enter a unit name and it returns the list of units affected, whether they would need to be rebuilt if the unit changed, or if the interface changed. We use lots of BPLs so you can sometimes change a unit and you don't have to re-build other binaries that use your unit, unless the interface changed. This saves us lots of work (hundreds of BPLs and EXEs).

Chris

这篇关于显示Delphi 2010或Delphi 7程序的单元依赖性的工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆