在Delphi 7中,我可以设置“Debug”和“Release”模式吗? [英] In Delphi 7, can I set up 'Debug' and 'Release' modes?

查看:1008
本文介绍了在Delphi 7中,我可以设置“Debug”和“Release”模式吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在大多数现代IDE中,您可以使用Debug和Release构建配置,您可以快速切换它们。



在Delphi 7中,这似乎不是可能。我必须转到项目设置并手动切换优化和所有的调试信息。



如果有一个插件或一些这样处理这个为我,这将是巨大的



有人知道一个吗?任何其他建议?



编辑:我无法升级到Delphi 2007或2009,因为我们有一个大的Delphi 7代码库,被转换。我同意,这将是理论上的最佳解决方案:P

解决方案

您可以轻松添加项目配置,类似于其他IDE提供使用Andreas Hausladen伟大的 DDevExtensions IDE专家。只需确保从我提到的链接中下载1.6版本,因为后续版本只能与Delphi 2009配合使用。1.6版本适用于5到2007年之间的任何Delphi版本,包括。



专家在项目菜单下添加一个子菜单,以防您首先找不到。


In most modern IDEs, you can have Debug and Release build configurations, and you can quickly switch between them.

In Delphi 7, this does not seem to be possible. I have to go to Project Settings and toggle optimization and all the debug information stuff manually.

It would be great if there was a plugin or some such that handled this for me.

Does anyone know of one? Any other suggestions?

Edit: I can't upgrade to Delphi 2007 or 2009 as we have a large Delphi 7 codebase which would have to be converted. I agree that would be the best solution in theory though :P

解决方案

You can very easily add project configurations, similar to what other IDEs offer, using Andreas Hausladen's great DDevExtensions IDE expert. Just make sure to download the 1.6 version from the link I mentioned, since later versions only work with Delphi 2009. The 1.6 version works with any Delphi version between 5 and 2007, inclusive.

The expert adds a submenu under the Project menu, in case you can't find it at first.

这篇关于在Delphi 7中,我可以设置“Debug”和“Release”模式吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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