Delphi – Known constructs that crash the Delphi IDE

delphidelphi-2006

I'm using Turbo Explorer 2006 (update 2), and sometimes the IDE crash in a certain unit, specially when I try to use class-completion. The unit (and whole project) are in production and have run fine for years, with daily modifications, it's just the IDE tools that fail.

Usually if this happens, Delphi survives the crash, but some parts of the IDE are defunct (e.g. debug values in tooltips for expressions whose unit is not in the .dpr)

I suspect the parser dies on some specific construct, probably something ifdef'ed, since this unit is an enormous switchboard of systems.

Does sb know specific constructs that kill the IDE? I'd like to fix this so I can use class-completion again.

Best Answer

Googling for [ delphi turbo "class completion" crash ] located a bug report with what sounds like the same problem you are seeing. The bug report lists a workaround (»Change "TTest" to "TButton" and remove the "TButton = class(TTest)".«), at least for its given testcase, but I don't know if its applicable in your case.

Related Topic