CountCompile

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

Moderator: Rathinagiri

User avatar
serge_girard
Posts: 2139
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 449 times
Been thanked: 102 times
Contact:

Re: CountCompile

Post by serge_girard » Mon Apr 03, 2017 5:55 pm

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

Serge

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 179 times

Post by Pablo César » Mon Apr 03, 2017 7:48 pm

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: 2139
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 449 times
Been thanked: 102 times
Contact:

Post by serge_girard » Mon Apr 03, 2017 8:00 pm

My name is Manuel and I know nothing ! Great!

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 179 times

Post by Pablo César » Mon Apr 03, 2017 8:04 pm

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
Has thanked: 100 times
Been thanked: 179 times

Post by Pablo César » Tue Apr 04, 2017 3:33 pm

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: 2139
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 449 times
Been thanked: 102 times
Contact:

Post by serge_girard » Tue Apr 04, 2017 3:55 pm

Good idea, perhaps. Let me know!

Serge

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 179 times

Post by Pablo César » Tue Apr 04, 2017 8:39 pm

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
Has thanked: 100 times
Been thanked: 179 times

Post by Pablo César » Wed Apr 05, 2017 12:03 am

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
Has thanked: 100 times
Been thanked: 179 times

Post by Pablo César » Wed Apr 05, 2017 5:43 pm

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 48 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
Has thanked: 100 times
Been thanked: 179 times

Post by Pablo César » Wed Apr 05, 2017 7:20 pm

<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 51 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 41 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