/sgnodes-all-demo

Demonstrates how the "sgnodes all" SceneGraph debug console command (port 8080) returns the reference counts held by the Roku OS (osref) and the channel itself (bscref)

Primary LanguageMakefile

"Sgnodes all": Returning "osref" and "bscref" counts

This sample channel demonstrates how the "sgnodes all" SceneGraph debug console command (port 8080) returns the reference counts held by the Roku OS (osref) and the channel itself (bscref).

To run this sample channel, follow these steps:

  1. Download and extract the sample channel.

  2. Follow the steps in Development environment setup to enable developer mode on your device, archive the files, and then sideload the archive to your Roku device.

  3. Open the SceneGraph debug console (port 8080).

  4. Enter the sgnodes all command

  5. In the UI of the sample channel, select a list item. Observe the osref and bscref counts in the debug console.