Debug breakpoints work fine in all other 38 units of my system, but in my DataModule, that has ~10.000 lines, Delphi disables them after I launch by F9/F8/F7. In any part of source that unit, even on obligatory steps like OnCreate
, SQLConnection.Active := true
, etc. It worked fine until ~20 days ago.
I discovered this problem. It's a weird behavior in Delphi7 that limits the number of fields in interface class section, between: type TDM=class(TDataModule) and private section. I deleted some fields (DataSet Fields (+-40 fields)) and degub runs again. I add these fields again, and debug not runs. I'm sure that's a limit, because doesn't mather which component fields I deleted. I tried with several fields, from different tables too, adding, testing and deleting. It's a shame, but is true... Thanks for your help.