GeekArticles
Programming
Delphi
Programming
DelphiTntWare Delphi.NET 2007 Kibitz Fixer
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.
Sponsored Links
Related Topics
Delphi Programming Almanacs: 1998. - 2011. Something for Every Delphi Developer: Beginner or a Guru!
Subscribe via RSS
Delphi
- A load of ASP.NET related tutorials, articles, tips and tricks!
- How to move PageControl's tabs using drag'n'drop
- Charts in database applications
- Creating Components Dynamically (at Run-Time)
- The role of the "AOwner" parameter in the Create constructor
- Creating a roll up form (with animation)
- Poll: Do you already have some experience with Delphi?
- Creating a database from Delphi code
- TMemoBar - T(Custom)Memo extender
- How to click-and-select a line in TMemo
