Skip to content

D28.ALEXANDRIA.11.1.0.2

Darian Miller edited this page Jun 1, 2022 · 4 revisions

Related: Delphi Master Release List, D28.ALEXANDRIA.11.1.0.0, D28.ALEXANDRIA.11.1.0.1

Windows 11 Win32 Debugging Patch for RAD Studio 11.1

This patch addresses an issue specific to debugging Win32 apps on Windows 11, where the IDE sometimes appears to freeze. Typical situations where you could observe the freeze include evaluating watches with side effects, opening the Threads view to switch threads, attaching to a process, and other common debugging actions. The issue is caused by getting the thread wait chain (GetThreadWaitChain()), which sometimes takes up to a minute. It is resolved by disabling the thread wait chain feature.

The exact cause of the thread wait chain delay is unknown but it appears to be related to a thread having a socket open, possibly where the thread is waiting to finish network IO.

Thread wait chain information is disabled for Win32 on both Windows 10 and Windows 11. There is an environment variable to re-enable it if you need the feature: set DBK_ENABLE_WAITCHAIN=1 on a command prompt, and run RAD Studio (alternatively, set that environment variable globally for Windows.)

Installation via GetIt

If you download the patch via GetIt, it is installed automatically, creating a backup of the files replaced. This is our recommended installation method.

The patch also affects remote debugging and replaces the setup_paserver.exe file. You will need to manually run this on any machine you want to remote debug to.

Manual Download and Installation

If you download this patch via the my.embarcadero.com download portal, the ZIP file contains an installer. Extract it and run the patch.R111.hotfix8_install.bat batch file to install. The ZIP file replaces:

  • bin\bordbk280.dll
  • bin\bordbk280N.dll
  • bin\Borland.dbkasp.dll
  • bin\dbkpro280.dll
  • bin\dbkw64srv_28_0.dll
  • bin\dbkw64_28_0.dll
  • bin\dbkw64_28_0.exe
  • bin\rmtdbg280.exe
  • PAServer\setup_paserver.exe

As with the GetIt installer, you will need to run the updated setup_paserver.exe on any target machine.


Patch.R111.Hotfix8-20220526-1.zip

  • Product: Windows 11 Win32 Debugging Patch for RAD Studio 11.1
  • Description: This patch addresses an issue specific to debugging Win32 apps on Windows 11, where the IDE sometimes appears to freeze.
  • Size: 40556524
  • MD5: a598bacce9bd8bef881e87a49c582ede
  • Release Date: Fri May 27 2022 10:00:00 GMT-0500 (Central Daylight Time)

Activity

Clone this wiki locally