view node properties in dubug?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ondesic

I have an Area2D as the main node. I add a sprite and a few other nodes. If I trigger a breakpoint and go into debug, how can I see the properties of the sprite? Is there a way to view all the nodes and their property values in debug?

I’ve been able to do this when I used a breakpoint statement. On the right side of the debugger panel, there’s buttons for stepping into a function, as well as stepping over a function. Here you can see various values of variables and the like.

Ertain | 2018-07-11 07:01

I understand this. I want to access the node’s info themselves. Like:


In the above example, while in debug I can’t access the properties of $sprite or $label.

How do I do this?

ondesic | 2018-07-12 01:33

Drat. From what I’ve found, the inspection of nodes is rather limited. I can access the values of the top-most node via the debugging pane. But any node beyond the root node seems to be out of reach.

Ertain | 2018-07-12 03:11

:bust_in_silhouette: Reply From: ondesic

The answer is while in Debug mode, Go to the node tree window. Then select “REMOTE” instead of “LOCAL” and you can view the node’s info directly in the inspector.