CountCompile
Posted: Sun Apr 02, 2017 2:51 pm
Currently in the last version of the IDE that Claudio has prepared (version 1.2a), it is still presenting me with problems.
This is happening with 3 last new releases of HMG.
Atypical problems have been reported and I have been avoiding the use of EDI in these last releases where debugger was introduced in it.
But this does not help to identify the problem that still exists in IDE.
Many colleagues saying that the error starts when it makes more than 20 compilations.
Others say that it presents problems when they make more than 30.
But how to know for sure, how many compilations are made and give a more accurate data ?
Before this app, I could not tell the exact number where it presents problems.
Then on my own I decided to make an application that counts the number of compilations, writing to a text file that can be accessed by any editor and can be deleted at any time.
It records with the same project name as ".Counter" extension.
Make it easy to identify and it will add as counter each time you compile determined project.
This can also be useful to know or have some idea of how many builds a project took.
Some rely on this information to determine change of version number of the project.
For those who want to use, here is something very simple to use and install. This is considerated modified version that my frist release:
Just add in the Build.bat of your HMG: Add this command by editing the main Build.bat in your last HMG version as is indicated line just at one previous line of HBMK2 of your Build.bat.
When IDE crash it, just give a look inside the counter file with name of the project and extension of ".Counter". If you want to reset number (each time you close your project and close IDE) you just delete <Project_Name>.Counter file.
If by mistake you have reset it or you want to recompose the number of your compilations. You can execute this at line command prompt by typing:
CountCompile <Project_Name> <Number_of_compilations_to_be considered>
Or just re-edit the <Project_Name>.Counter file.
I hope it's useful.
This is happening with 3 last new releases of HMG.
Atypical problems have been reported and I have been avoiding the use of EDI in these last releases where debugger was introduced in it.
But this does not help to identify the problem that still exists in IDE.
Many colleagues saying that the error starts when it makes more than 20 compilations.
Others say that it presents problems when they make more than 30.
But how to know for sure, how many compilations are made and give a more accurate data ?
Before this app, I could not tell the exact number where it presents problems.
Then on my own I decided to make an application that counts the number of compilations, writing to a text file that can be accessed by any editor and can be deleted at any time.
It records with the same project name as ".Counter" extension.
Make it easy to identify and it will add as counter each time you compile determined project.
This can also be useful to know or have some idea of how many builds a project took.
Some rely on this information to determine change of version number of the project.
For those who want to use, here is something very simple to use and install. This is considerated modified version that my frist release:
Just add in the Build.bat of your HMG: Add this command by editing the main Build.bat in your last HMG version as is indicated line just at one previous line of HBMK2 of your Build.bat.
When IDE crash it, just give a look inside the counter file with name of the project and extension of ".Counter". If you want to reset number (each time you close your project and close IDE) you just delete <Project_Name>.Counter file.
If by mistake you have reset it or you want to recompose the number of your compilations. You can execute this at line command prompt by typing:
CountCompile <Project_Name> <Number_of_compilations_to_be considered>
Or just re-edit the <Project_Name>.Counter file.
I hope it's useful.