目录

Viewing ArkUI State Variables

DevEco Studio 6.0.2 Beta1 and later versions allow you to view real-time changes of ArkUI state variables during debugging.

In the debugging window, click Layout Settings and check ArkUI State to open the ArkUI state variable panel.

The state variable panel is divided into two sub-panels: Summary and Current Value.

  • Listening for state variable updates only starts after the state variable panel is opened. Therefore, updates that occurred before the panel is opened cannot be viewed.
  • During a debugging session, closing the state variable panel does not clear previously collected data. The Current Value panel displays up to 1,000 entries; if this limit is exceeded, only the latest 1,000 entries are shown.