Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
pcnweb
Channel Surfer

roSGNode:ContentNode - Print Change Parameter Array Contents

Given:

<Component: roSGNode:ContentNode> =
{
    change: <Component: roAssociativeArray>
    focusable: false
    focusedChild: <Component: roInvalid>
    id: ""
}

What's the easy way to echo the change: <Component: roAssociativeArray> contents to console for debugging?
0 Kudos
2 REPLIES 2
jasonwright
Visitor

Re: roSGNode:ContentNode - Print Change Parameter Array Contents

Using Roku Eclipse plugin do:

print ContentNode.change
0 Kudos
pcnweb
Channel Surfer

Re: roSGNode:ContentNode - Print Change Parameter Array Contents

Not using Eclipse, via the command line I tried:

? m.postergrid.content.change

that returns:

<Component: roAssociativeArray> =
{
    Index1: 0
    Index2: 0
    Operation: "none"
}

which of course is completely unhelpful.
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.