如何阻止Delphi生成RSM文件?

前端之家收集整理的这篇文章主要介绍了如何阻止Delphi生成RSM文件?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我刚刚将’64位平台’添加到我的项目中,我的Delphi(XE7)不断生成一个巨大的RSM文件(这会增加编译时间).根据 Help,如果禁用“包括远程调试符号”选项,则不应该发生这种情况.

在我的情况下它被禁用.

还有别的东西要禁用吗?

解决方法

http://embarcadero.newsgroups.archived.at/public.delphi.ide/201203/12030416462.html

Delphi XE2 generates RSM files that are several MB in size. As I
understand it,these files are for remote debugging. Is there a way
to turn off the generation of these files?

Yes. In the Project Options look on the page “Delphi Compiler\Linking”
for “Include remote debug symbols” and turn it off if you do Win32
debugging. Note it is necessary for Win64 debugging.

并继续在http://www.devsuperpage.com/search/Articles.aspx?G=2&ArtID=20168

The IDE is 32-bit,because that’s the only way it can work on both 32
and 64 bit versions of Windows. (Win64 can run 32 bit apps,but Win32
can’t run 64 bit apps.) That’s why the remote debugger is used for 64
bit and cross-platform apps.

来自TeamB的Jeff Overcash

Is the reason that Delphi XE2 is not itself really 64-bit?

Sure,then it can’t be run on 32 bit OS’s. All third party components won’t work at all until a 64 bit version of it exists (a 64 bit IDE would not be able to load a 32 bit bpl),this would be a major reason for people not to upgrade too. Supporting both a 32 bit and 64 bit IDE doubles the testing time for little to no benefit.

猜你在找的Delphi相关文章