When I open and use Delphi project files in RAD Studio 10 Seattle
IDE. It always create .stat files. Is there a way to stop creating the files?
Asked
Active
Viewed 1,847 times
7

Danilo Casa
- 506
- 1
- 9
- 18

Chau Chee Yang
- 18,422
- 16
- 68
- 132
-
I complained about this issue in XE8. It's related to the Castalia statistics collection, which is moronic (who cares how many minutes and seconds I spent in the Code Editor vs. the debugger vs. the form designer?). It appears that even though they integrated the Castalia functionality, they failed to turn off the stats collecting code. – Ken White Sep 16 '15 at 03:02
-
2I disabled Castalia - it's of no use to me. – Jerry Dodge Sep 16 '15 at 03:43
-
http://stackoverflow.com/questions/29520761/how-can-i-disable-castalia-in-xe8 – Jerry Dodge Sep 16 '15 at 04:07
-
They didn't fail to turn off the stats collecting code. You can view the statistics using View->Project Statistics. – Sebastian Z Sep 16 '15 at 09:29
-
2Delphi 10 Seattle IDE doesn't seems to have the castalia package install but .stat files keep show up. – Chau Chee Yang Sep 17 '15 at 01:32
-
Castalia is still there. It's what is behind the colour coded block lines drawn in the ide – David Heffernan Sep 18 '15 at 06:26
-
@DavidHeffernan: Is there a way to remove it? – Chau Chee Yang Sep 18 '15 at 09:12
-
Remove what? Castalia or the file? – David Heffernan Sep 18 '15 at 09:25
-
Remove or disable castalia package? so the IDE stop creating .stat file. – Chau Chee Yang Sep 18 '15 at 09:44
1 Answers
4
Open project's properties, go to Build Events and in the Post-build events enter the following command:
del /q "$(INPUTDIR)$(INPUTNAME).stat"
or
if exist "$(INPUTDIR)$(INPUTNAME).stat" del /q "$(INPUTDIR)$(INPUTNAME).stat"

Grzegorz Skoczylas
- 239
- 4
- 6