Viewing the status of the Pzl-system: различия между версиями

Материал из wikiru.visual-prolog.com

м
м
Строка 9: Строка 9:
The form to control the status of the pzl-system gives also the possibility to view the status of the active components registry.
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 =
Форма контроля состояния Pzl-Системы вызывается через меню '''View/Studio Status'''
The tool to observe the status of the pzl-system is invoked via the menu item '''View/Studio Status'''


Для контроля активности компонент выбирается закладка '''Containers'''.
To see the activity of pzl-containers you should use the '''Containers''' tab.


[[Image:PzlStudio_StatusComponents.png]]
[[Image: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 - активен
**Active
**To be Unloaded - готов к выгрузке
**To be Unloaded
Когда контейнер выгружается из памяти, он исчезает из списка.
When the container is unloaded from the memory, it disappears in the list.


Для контроля состояния реестра активных компонент выбирается закладка '''Object Registry'''.
To observe the status of the object registry the '''Object Registry''' tab should be activated.


[[Image:PzlStudio_StatusObjRegistry.png]]
[[Image:PzlStudio_StatusObjRegistry.png]]


Для каждого активной компоненты, зарегистрированной в реестре Pzl-Системы приложения, форма показывает объект, который ей соответствует. Эти данные могут оказать помощь при отладке компонент.
For each object registered in the object registry of the pzl-system the form shows the component alias and the numeric runtime identifier of the object. This information may help while the debugging the component.


Форма имеет кнопки:
The form has buttons:
*Update - обновить состояние данных формы
*Update – update the view of the form
*Init GC - инициировать работу сборщика мусора
*Init GC – initiate the Garbage Collector run
*Unload - выгрузить компоненты, готовые к выгрузке.
*Unload – unload the components, which are ready to be unloaded.
Кнопки '''Init GC''' и '''Unload''' позволяют форсировать процесс освобождения памяти и выгрузки компонент. Если их не использовать, то мы будем наблюдать процесс активизации экземпляров компонент так, как он протекает в естественных условиях.
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.


Поскольку сама Elementary PzlStduio построена с использованием Pzl-технологии, то одновременно с наблюдением поведения компонент Пользователя, мы наблюдаем и поведение компонент самой среды Elementary PzlStduio.
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.


=References=
=References=
[[Category:VpPuZzleEn]]
[[Category:VpPuZzleEn]]

Версия 10:01, 7 февраля 2008

Автор: Виктор Юхтенко

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 numeric 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.

References