Is it possible to get information where a variable, handle, buffer are defined?

时间:2017-10-12 09:53:54

标签: openedge progress-4gl

I write some little log files where i can see from which program something is called with the help of

PROGRAM-NAME(i). It would be really interesting if I could also get information about my variables, handles, buffers, ... and where they are defined.

SOURCE-PROCEDURE:GET-SIGNATURE

is a little step in the right way, but this gives me only the possible input and output of my source-procedure.

2 个答案:

答案 0 :(得分:1)

Handle based objects have an INSTANTIATING-PROCEDURE property of type handle, that references the handle of the procedure that created the instance.

Alternative, if the Dynobjects.* log-manager entry type to get that information when an handle based object is created and deleted in the current client log file.

答案 1 :(得分:1)

如果您想要大量的运行时数据,请查看“LOG-MANAGER”句柄,尤其是4GLTrace设置。