我如何找到我的Delphi应用程序中的所有单元? [英] How can I find all the units in my Delphi app?

查看:97
本文介绍了我如何找到我的Delphi应用程序中的所有单元?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

很容易找到所有的外部依赖项。只需运行程序并打开模块信息窗口。但是如何找到我所有的内部依赖关系?我知道程序保存所有单元的列表,因为我已经跟踪了我的方式通过初始化代码一两个。但是有没有什么简单的方法来从调试器访问这个列表?

It's easy enough to find all your external dependencies. Just run the program and open up the Modules info window. But how can I find all my internal dependencies? I know the program keeps a list of all the units, because I've traced my way through the initialization code a time or two. But is there any easy way to access this list from the debugger?

推荐答案

另一个而且繁琐的方式是生成一个地图文件,它包含程序中使用的所有单位的列表。

Another, but rather cumbersome way, is to generate a map file, it contains a list of all units used in a program.

另请参阅此答案:
我如何找到我的Delphi应用程序中的所有单元?

这篇关于我如何找到我的Delphi应用程序中的所有单元?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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