Viewing the status of the Pzl-system


Written by Victor Yukhtenko. Email:

The Elementary PzlStudio contains the tool to see the status of the Pzl-system.

You may see how the creation and the disappearing of instances of pzl-components influences on the status of appropriate container.

It is a very convenient tool to analyze the correctness of the releases of the memory for the components invoked by the Elementary PzlStudio. These components may be the components created by users also.

The form to control the status of the pzl-system gives also the possibility to view the status of the active components registry.

Invoking the Tool

The tool to observe the status of the pzl-system is invoked via the menu item View/Studio Status

To see the activity of pzl-containers you should use the Containers tab.

PzlStudio StatusComponents.png

For each container loaded in to the memory currently the form shows

  • The amount of the created instances of the pzl-components of the given container.
  • The activity status
    • Active
    • To be Unloaded

When the container is unloaded from the memory, it disappears in the list.

To observe the status of the object registry the Object Registry tab should be activated.

PzlStudio StatusObjRegistry.png

For each object registered in the object registry of the pzl-system the form shows the component alias and the hexadecimal runtime identifier of the object. This information may help while the debugging the component.

The form has buttons:

  • Update – update the view of the form
  • Init GC – initiate the Garbage Collector run
  • Unload – unload the components, which are ready to be unloaded.

The buttons Init GC and Unload help to force the process of the memory release and unloading the containers. If you are not using these buttons, then you will see the activation and deactivation of components and pzl-containers in a natural way.

Because of the Elementary PzlStduio is built using the pzl-technology, we will see the behavior of components of the pzl-components and appropriate pzlContainers of the Elementary PzlStduio itself.