Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
News

Windows 11 Win32 Debugging Patch for RAD Studio 11.1

patchforrad

A new patch (or hotfix) for RAD Studio 11.1 is now available. The patch addresses a problem that occurs when debugging Win32 apps on Windows 11, in which the IDE appears to freeze at times. When evaluating watches with side effects, opening the Threads view to switch threads, attaching to a process, and performing other common debugging actions, you may notice the freeze. The problem is caused by the time it takes to get the thread wait chain (GetThreadWaitChain()), which can take up to a minute. It is fixed by turning off the thread wait chain feature in the debugger.

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 while waiting for network IO to complete.

On both Windows 10 and Windows 11, thread wait chain information is disabled for Win32. 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). Because the issue only affects Windows 11, you only need to install the patch on Windows 11.

Installation

You can download this in GetIt (our recommended technique; also it will show as available on the Welcome Page when you start the IDE) or install manually after downloading from my.embarcadero.com (the zip file contains a batch file installer.)

The'Patch Available' button shown in the RAD Studio Welcome screenThe RAD Studio 11.1 Welcome screen shows the ‘Patch available’ button. Click this to install patches, including this one.

Remote Debugging

Because this patches the debugger, you must also update PAServer on the remote machine if you use remote debugging. The patch installer replaces the PAServersetup paserver.exe file in (your RAD Studio install location), but you must copy it to the remote machine and install it. The patch readme contains complete instructions.

 

Interested in using Embarcadero’s IDE Software? It will help you Build Apps 5x Faster With One Codebase for Windows, Android, iOS, macOS, and Linux. Request a free trial here.

See What's New in 12.2 Athens See What's New in 12.2 Athens Dev Days of Summer 2-24

Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

About author

David is an Australian developer, currently living in far-north Europe. He is the senior product manager for C++ at Idera, looking after C++Builder and Visual Assist.

4 Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES