Delphi 10.4.2 发布三个补丁的说明及安装方法

这是官方的说明:

https://blogs.embarcadero.com/rad-studio-10-4-2-general-patch-and-delphi-compiler-patch/

这下官方的下载地址:

http://altd.embarcadero.com/getit/public/libraries/Patches/CompilerPatch-20210430.zip

该补丁解决了10.4.2中的Delphi编译器中存在的性能问题以及内存占用问题,因此,该补丁也提升了Code Insight(Delphi LSP)的性能。另外解决下面三个问题:

  • RSP-33425 Internal error AV0C793340(0C770000)-R00000018-0
  • RSP-33232 64bit Dll Debugging broken with runtime packages
  • RSP-32768 F2046 out of memory

http://altd.embarcadero.com/getit/public/libraries/Patches/GeneralPatch-20210429.zip

此补丁解决了RAD Studio 10.4.2中的许多问题,这些问题主要涉及Delphi和C ++的调试及LSP问题。包括解决下面这些问题:

  • RSP-33406 E2213 Falsches gepacktes Unit-Format: c:program files (x86)embarcaderostudio21.0libWin32debugrtl.dcp.System.SysUtils – Erwartete Version: 34.0, Windows Unicode(x86) Gefundene Version: 110.105, Unk(ARM)
  • RSP-33117 Critical: TRY..FINALLY block is broken for non-Windows platforms
  • RSP-32951 C++64: Debugger fatal error: debug kernel not responding. The debug process willl be terminated.
  • RSP-32939 Debugging of DLL with runtime packages is not possible at all
  • RSP-32043 Fatal linker error: Type index XXX is bad in module YYY when using clang compiler

http://altd.embarcadero.com/getit/public/libraries/Patches/DelphiRTLPatch-20210503.zip

这个补丁,是RTL的,解决RSP-33117 Critical: TRY..FINALLY block is broken for non-Windows platforms

下面这个补丁的官方说明,https://www.ideasawakened.com/post/patch-misfire-try-finally-fix-to-be-re-released

翻译过来:

Delphi 10.4.2中发布了两个补丁,修复一些严重的错误。其中一个错误修复是RSP-33117,当在非Windows平台上的FINALLY部分中出现RAISE语句时,TRY / FINALLY不正常执行。JoãoAntônioDuarte最初报告该补丁无法解决问题,Dalija Prasnikar确认该问题仍未解决。Takeshi Arisawa还确认该补丁不包含RSP-33117的修复程序,因此需要重新发布。 (“这是打包问题。我们将发布有关此RSP-33117问题的另一个补丁。”)

此外,Vincent Parrett报告成功测试了另一个主要的10.4.2补丁。 (“到目前为止,一切都很好。我重新打开了LSP,能够进行完整的构建(该组中有100多个项目)–然后调试主项目,退出,更改一些代码,再次进行编译和调试,IDE用了很多内存,但是在LSP之间,项目之间的代码导航仍然中断(当仅引用dcp时)-所以我又回到classic code insight。”

手工安装方法:

我合并三个补丁到一个文件,用这个文件,覆盖Delphi安装目录C:\Program Files (x86)\Embarcadero\Studio\21.0

百度下载:

链接: https://pan.baidu.com/s/1ci0S_Q5Esk6SbKeRe4_2oA 提取码: uyc7

个人感觉,不要手懒,这是必装的补丁!