Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

ID: 27436, TntWare Delphi.NET 2007 Kibitz Fixer

by Troy Wolbrink Email: Anonymous

Fixes a cpu hang when editing certain source files within the IDE. The issue seems to have something to do with generics.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 11.0  to 11.0 28 downloads
Copyright: No significant restrictions

Size: 6,939 bytes
Updated on Fri, 06 Nov 2009 21:07:22 GMT
Originally uploaded on Fri, 06 Nov 2009 21:02:06 GMT
SHA1 Hash: 9EBE731EF81FC0EDD606F11BB51A7F1CD81D4139
MD5 Hash: 6A761D918871B0FFEB19B3D261FAC5CB

    Explore the files in this upload

This fix only applies to the Delphi for .NET personality of Delphi 2007. In certain cases, having to do with generics, the source editor of the Delphi.NET 2007 will hang when code completion kicks in. As the cpu is hung, bds.exe will consume more and more memory. If the IDE ever returns control, you may be in a low memory condition. This really hurts your productivity. It's reported here:

This fix is a design package you must install into the IDE. It uses the JCL package, and it intercepts calls to dcc110il.dll's KibitzGetValidSymbols() function. The KibitzGetValidSymbols() function was determined to be the main entry point for the cpu hang condition using the "Debugging Tools for Windows (x86)".

When intercepting the call to KibitzGetValidSymbols(), it puts the call to the original KibitzGetValidSymbols() within dcc110il.dll on a separate thread. If the Escape key is pressed, it terminates the thread and returns control. If 3 seconds go by, it suspends the thread and asks the developer if they'd like to continue waiting. It's important that it suspends the thread while it asks, becuase otherwise it continues to run and leak memory at 100% cpu.

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03