How to stop creating .stat file in Delphi 10 Seattle IDE
Asked Answered
H

1

7

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?

Hach answered 16/9, 2015 at 0:45 Comment(9)
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.Gospel
I disabled Castalia - it's of no use to me.Graybill
#29521261Graybill
They didn't fail to turn off the stats collecting code. You can view the statistics using View->Project Statistics.Ragged
Delphi 10 Seattle IDE doesn't seems to have the castalia package install but .stat files keep show up.Hach
Castalia is still there. It's what is behind the colour coded block lines drawn in the ideHoff
@DavidHeffernan: Is there a way to remove it?Hach
Remove what? Castalia or the file?Hoff
Remove or disable castalia package? so the IDE stop creating .stat file.Hach
M
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"
Malebranche answered 3/4, 2016 at 8:38 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.