跟踪 Ada 中的标头依赖性?

发布于 2024-07-14 12:09:34 字数 38 浏览 3 评论 0原文

是否有一个工具可以跟踪/绘制 Ada 源代码中的标头依赖关系?

Is there a tool that will track/graph header dependencies from Ada source code?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

小嗷兮 2024-07-21 12:09:35

(假设“头依赖项”指的是“包依赖项”。)

GNAT 编译系统附带 gnatls 工具,当使用 -d 和 -s 开关调用时,提供给定单元所依赖的文件列表。

我希望这也成为其他 Ada IDE(例如 Aonix 和 Rational Apex)的一个相当标准的功能。

了解 2.0,来自 Scientific Toolworks 是一个可以执行此操作的商业代码分析和浏览工具。 它有点贵,但那是因为它非常强大,如果您有预算资源,那么每一分钱都值得。如果没有它,我不会处理任何类型的遗留代码库。

(Assuming that by "header dependencies" you mean "package dependencies".)

The GNAT compilation systems comes with the gnatls tool, which when invoked with the -d and -s switches provides the list of files upon which a given unit depends.

I would expect this to be a pretty standard feature of other Ada IDEs as well, such as Aonix and Rational Apex.

Understand 2.0, from Scientific Toolworks is a commercial code analysis and browsing tool that would do this. It's a bit pricey, but that's because it is extremely powerful and worth every penny if you've got the budget resources. <plug>I don't tackle any kind of legacy code base without it.</plug>

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文