CountCompile

Utilities like DBU, Make, IDE written in HMG/ used to create HMG based applications

Moderator: Rathinagiri

User avatar
serge_girard
Posts: 3161
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: CountCompile

Post by serge_girard »

Yes, impossible to X-click. Escaoe I think worked,

Serge
There's nothing you can do that can't be done...
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: CountCompile

Post by Pablo César »

Yes, it's impossible to close IDE by [x] button but by TaskBar (right mouse's button close) its closes normally by dialog quering for exit.

I do not know if this info will be useful to Claudio, but I have to inform that I found a -clean.Counter file at my project folder. It's strange to know, is a "-clean" as project or flag or method inside IDE that it could be reated by IDE probably for cleaning ? Harbour did ? I know nothing... (I am from Barzzzzelona) :)
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
serge_girard
Posts: 3161
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: CountCompile

Post by serge_girard »

My name is Manuel and I know nothing ! Great!
There's nothing you can do that can't be done...
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: CountCompile

Post by Pablo César »

serge_girard wrote: Mon Apr 03, 2017 8:00 pm My name is Manuel and I know nothing ! Great!
I love it. Very funny indeed. Since you mentioned, I can not forget Manuel... :lol:
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: CountCompile

Post by Pablo César »

IDE crash again at 33 compilations...

I will desist for a while. I have already said that...

I'm gonna work with IDE_NoDebugger.exe (version 1.0.8) :|
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
serge_girard
Posts: 3161
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: CountCompile

Post by serge_girard »

Good idea, perhaps. Let me know!

Serge
There's nothing you can do that can't be done...
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: CountCompile

Post by Pablo César »

serge_girard wrote: Tue Apr 04, 2017 3:55 pm Good idea, perhaps. Let me know!
Yes sure. :)

So far, I am in two projects at the same time more than 38 compilations, without going through the "Reset Project Incremental Data".

Everything working normal, but with version 1.0.8 :|
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: CountCompile

Post by Pablo César »

Now 84 compilations with version 1.0.8 and no one failure... :D
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: CountCompile

Post by Pablo César »

Dear Claudio,

Unfortunately, it happen the same error again.
I have prepared this basic test:

Code: Select all

#include <hmg.ch>

Function Main ()
DEFINE WINDOW Test AT 254, 369 WIDTH 550 HEIGHT 350 MAIN
END WINDOW
Test.Center
* Test.Activate
Return Nil
I compile always as soon as the app is finish the executing.
On this time qith lucky that when I reached +/- in 30 compilations, I also started to record.
Fortunately at this time I picked up the moment when the problem occurs.

Please also note that probably the main problem is when is being make focus on different windows:
IDE main window, Notepad ++, "Wait Window" window, compile button.

That's what I basically did for testing.

Attached video ...
Video_1491401986.rar
Video when IDE error / With CountCompile
(1.41 MiB) Downloaded 203 times
I brought this subject here, just to focus efforts on the IDE detection problem in those versions that the debugger owns.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: CountCompile

Post by Pablo César »

<Sorry to write in Spanish. It's just to Claudio and I could make better understanding>

Hola Claudio,

Otra vez ocurrió problemas con la IDE. Cuando llega a más de 30 compilaciones, se pone instable. Antes de eso no.
Y el problema creo que está en hacer foco y clicando fuera y dentro del IDE. No se debe tanto al factor de compilaciones.
Digo esto, porque hice este programa que compila automaticamente 30 veces. Y en más de 30 compilaciones que hace a travez del F5, no suele dar error. Solo cuando clico en varios lugares.
Hice otro video y capturé otra vez el momento exacto:
Video_1491407927.rar
Video of IDE crash #2
(3.28 MiB) Downloaded 220 times
 
Dejo tambien el TEST que hice con los source code y ejecutable. Junto con el proyecto DEMO:
TEST.rar
Source and executable files of TEST + DEMO
(1.21 MiB) Downloaded 217 times
 
Para usarlo:
1. Tenés que descompactar el archivo TEST en una carpeta a parte y dejar los archivos todos en el mismo lugar.
2. La IDE y el HMG tiene que estar en: C:\hmg.3.4.4\IDE\IDE.exe (sinó hay que cambiar en el Test.prg y compilarlo nuevamente)
3. Abrir el proyecto DEMO en la IDE. No precisa compilar. No tiene nada, solo el Main y Return.
4. Ahora es solo llamar TEST.exe e irá ejecutar 30 veces solito.

Este TEST tambien permite que informes el parametro de cuantas veces deseás compilar.

Ahhh, en mis testo utilizo tambien el programita CountCompile que es llamado en el Build.bat del main de HMG.

Este TEST es útil para no tener que estar con el dedito en el F5... lo hace todo automaticamente...
Last edited by Pablo César on Wed Apr 05, 2017 9:26 pm, edited 1 time in total.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Post Reply