Tech Tutorials Database
GeekArticles Programming Delphi
 

TntWare Delphi.NET 2007 Kibitz Fixer

 
Author: cc.embarcadero.com
Category: Delphi
Comments (0)

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. reported fix is a design package you must install into the IDE. It uses the JCL package, and it intercepts calls to 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 like to continue waiting. important that it suspends the thread while it asks, becuase otherwise it continues to run and leak memory at 100% cpu.

Read More...




Sponsored Links




Read Next: Program to Improve InterBase and FireBird Performance



 

 

Comments



Post Your Comment:

Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe