PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD20]  is the execution stack available when a program is running ?
[WD20] is the execution stack available when a program is running ?
Iniciado por guest, 21,ene. 2016 08:42 - 2 respuestas
Publicado el 21,enero 2016 - 08:42
Hello All

I would like to capture and record the exection stack for a running program if possible
I have looked at the dgbinfo() function but it doesn't really help.

The situation is that many elements of the program can write data into a file and I want to know which one has been responsible for the creation of each record.

I sort of have the information available already because I create and manage a string containing the window names that are run, but without also adding procedure calls to that string I don't know all the processes involved, and the execution stack would have all that information.

Regards
Al
Publicado el 21,enero 2016 - 13:19
Hello Al,

dbgInfo -IS- the correct function to get the execution stack. One of its options returns just that.

Best regards
Publicado el 23,enero 2016 - 12:50
Hello Fabrice

Thanks it was dbgInfo(dbgStack).
It returns everything as far back as the main menu.

Regards
Al